2012年10月17日水曜日

rake resque:workでエラーが出る

resque_schedulerの実行
QUEUEは自分で指定した値です。
rake resque:work QUEUE=word_analysis
こうやるとエラーが出る。
undefined method `require_dependency'
正解は
rake environment resque:work QUEUE=word_analysis

0 件のコメント: