delayed_job gotcha

Posted by Andrew Mon, 17 Jan 2011 23:06:11 GMT

Found this little 'gem' (pun intended).

Here's the situation: you've got delayed_job (gem or plugin) and when you do rake jobs:work everything's fine. When you decide to do script/delayed_job start the thing says it ran but it just dies. No output anywhere indicating something is the matter.

Bad delayed_job! No cookie!

Turns out delayed_job isn't at fault here. It's our old friend daemons! I swear, the amount of problems caused by daemonization makes me yearn for a simple solution. 

Moving right along, here's your solution (https://github.com/collectiveidea/delayed_job/issues#issue/3):

config.gem "ghazel-daemons", :lib => "daemons", :source => 'http://gems.github.com'

Comments are disabled

Powered