耙子流产:不知道如何建立任务'工作:工作'

时间:2011-10-20 06:20:00

标签: ruby-on-rails-3 rake delayed-job

当我运行bundle exec rake jobs:work时,我收到此错误:

rake aborted!
Don't know how to build task 'jobs:work'

语法有什么问题?

注意:我安装了delayed_jobs,如下所示:

rails plugin install git://github.com/collectiveidea/delayed_job.git
rails generate migration create_delayed_jobs
[ Fill the migration from https://github.com/collectiveidea/delayed_job ]
bundle exec rake db:migrate

1 个答案:

答案 0 :(得分:3)

解决方法是安装delayed_jobs,如下所述: https://github.com/collectiveidea/delayed_job

在此之后,bundle exec rake jobs:work运行良好。