Rails delayed_jobs don't run in a Rails context -
so have delayed_job
s getting enqueued , dequeued properly. problem when running them, either $ bundle exec rake jobs:work
or $ script/delayed_job start
, processing code doesn't load rails context, jobs don't processed unless manually add relevant require
s environment.rb
. neither clean nor sane, i'd figure out why runner doesn't seem loading full rails context. built on mongoid backend - hope have nothing situation, though. help?
Comments
Post a Comment