jeudi 24 septembre 2015

No such file to load -- devise/confirmations_controller resque error in rails using chef

Im trying to integrate resque in my application using resque cookbook(chef).I start the resque workers by monit like start program = "/usr/bin/sudo /engineyard/bin/resque <%= @app_name %> start <%= @rails_env %> resque_<%= num %>.conf" with timeout 60 seconds. But in production,it show this error message No such file to load -- devise/confirmations_controller I know rake environment QUEUE=* resque:work will do the work. But how do i do it in monit?

Aucun commentaire:

Enregistrer un commentaire