Rails delayed_jobs don't run in a Rails context -


so have delayed_jobs 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 requires 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

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -