You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great if the Rails.logger was set/configurable within workers when running rails code. Right now we've seen other gems (specifically the DelayedJob gem) error out due to Rails.logger being undefined:
/mnt/sw_jobs/u9189/user_dir/gems/delayed_job/lib/delayed/worker.rb:22:in `<class:Worker>': undefined method `logger' for Rails:Module (NoMethodError)
from /mnt/sw_jobs/u9189/user_dir/gems/delayed_job/lib/delayed/worker.rb:8:in `<module:Delayed>'
from /mnt/sw_jobs/u9189/user_dir/gems/delayed_job/lib/delayed/worker.rb:7:in `<top (required)>'
from /usr/local/lib/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/local/lib/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /mnt/sw_jobs/u9189/user_dir/gems/delayed_job/lib/delayed_job.rb:8:in `<top (required)>'
from /usr/local/lib/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/local/lib/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /mnt/sw_jobs/u9189/user_dir/runner.rb:63:in `<main>'
The text was updated successfully, but these errors were encountered:
It would be great if the Rails.logger was set/configurable within workers when running rails code. Right now we've seen other gems (specifically the DelayedJob gem) error out due to Rails.logger being undefined:
The text was updated successfully, but these errors were encountered: