uninitialized constant Delayed::Job in rails 2

If you have installed delayed job gem/plugin to manage background job and are facing the problem
uninitialized constant Delayed::Job
Then you need to add the following to config/initializers/delayed_job.rb
Delayed::Worker.backend = :active_record
This will remove the error and you will now be able to work with delayed job in your rails application. Enjoy the sweetness of backgrounded jobs.  
  • Anonymous

    very well