Do you have delayed_job_active_record in your Gemfile? You'll need it. On 09/08/2013, at 12:39 PM, Lihong He wrote:
> I have run rails g delayed_job, output is: > > identical script/delayed_job > chmod script/delayed_job > and then run script/delayed_job start, the output is: > /usr/local/lib/ruby/gems/1.9.1/gems/delayed_job-4.0.0/lib/delayed/worker.rb:88:in > `before_fork': undefined method `before_fork' for nil:NilClass > (NoMethodError) > from > /usr/local/lib/ruby/gems/1.9.1/gems/delayed_job-4.0.0/lib/delayed/command.rb:89:in > `run_process' > from > /usr/local/lib/ruby/gems/1.9.1/gems/delayed_job-4.0.0/lib/delayed/command.rb:83:in > `block in daemonize' > from > /usr/local/lib/ruby/gems/1.9.1/gems/delayed_job-4.0.0/lib/delayed/command.rb:81:in > `times' > from > /usr/local/lib/ruby/gems/1.9.1/gems/delayed_job-4.0.0/lib/delayed/command.rb:81:in > `daemonize' > from script/delayed_job:5:in `<main>'. > Thanks! > > -- > You received this message because you are subscribed to the Google Groups > "Thinking Sphinx" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/thinking-sphinx. > For more options, visit https://groups.google.com/groups/opt_out. > > -- You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/thinking-sphinx. For more options, visit https://groups.google.com/groups/opt_out.
