我正在使用 ruby(不是 rails)并且我已经安装了 resque gem。根据手册,我应该使用以下命令启动工作人员:
resque work
但是这个命令根本不会启动工作人员(我已经检查了 bin/ 中的 resque 文件,它根本不接受“工作”)。
这是输出:
Usage: resque [options] COMMAND
Options:
-r, --redis [HOST:PORT] Redis connection string
-N, --namespace [NAMESPACE] Redis namespace
-h, --help Show this message
Commands:
remove WORKER Removes a worker
kill WORKER Kills a worker
list Lists known workers