【发布时间】:2012-07-07 05:58:53
【问题描述】:
我使用 devise,我可以发送带有 resque 的邮件。我使用这个维基: How To: Send devise emails in background (Resque, Sidekiq and Delayed::Job)
我有工作在排队,但没有工人。我必须创建任务还是工人?
【问题讨论】:
-
只是想确定 -- 你在运行 resque 工人吗:
QUEUE=* rake resque:work? -
rake aborted!Don't know how to build task 'resque:work'我必须为工人创建任务吗? -
不,你只需要安装 resque。它在您的 Gemfile 中吗?你跑
bundle install了吗? github.com/defunkt/resque -
是的,我也跑过
bundle install和bundle update。它将“作业”添加到队列中,但不这样做,只推送到队列。
标签: ruby-on-rails devise resque