gpt4 book ai didi

ruby-on-rails-3 - rake 中止 : Don't know how to build task 'jobs:work'

转载 作者:行者123 更新时间:2023-12-04 06:10:35 26 4
gpt4 key购买 nike

当我跑 bundle exec rake jobs:work我收到此错误:

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

语法有什么问题吗?

注意:我像这样安装了 delay_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

最佳答案

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

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

关于ruby-on-rails-3 - rake 中止 : Don't know how to build task 'jobs:work' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7831874/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com