Tuesday, August 16, 2011

resque-schedular undefined method enqueue_at


initializers\resque.rb must reference resque_schedule.
require 'resque_scheduler' 
resque task must be started
COUNT=5 QUEUE=* rake resque:workers
resque-schedule task must be started
rake resque:scheduler
to monitor resque-schedule, resque-web must be started with the config file of resque as parameter. This one must not reference anything from rails directly as resque-web is a sinatra app and it won't be able to load it properly.
resque-web ~/pathToYourApp/config/initializers/resque.rb 
http://stackoverflow.com/questions/7048020/rails-3-0-9-resque-scheduler-and-delayed-job-error-undefined-method-enqueue-at

No comments:

Post a Comment