我正在使用 Resque 和 Resque 调度程序,但是当我输入命令resque-web
时它没有运行。而是提示错误:
bash: resque-web: command not found
那么如何在我的本地服务器上启动这个 resque-web。
我正在使用 Resque 和 Resque 调度程序,但是当我输入命令resque-web
时它没有运行。而是提示错误:
bash: resque-web: command not found
那么如何在我的本地服务器上启动这个 resque-web。
它可能试图打开默认浏览器但没有这样做。尝试使用:
$ resque-web -L
$ bundle exec resque-web
[Wed Jan 19 22:10:38 +0000 2011] Starting 'resque-web'...
[Wed Jan 19 22:10:38 +0000 2011] trying port 5678...
Couldn't get a file descriptor referring to the console
有人知道我应该尝试什么吗?我在 Ubuntu 10.04.1 上,想在 nginx 0.8.53 上运行它。
bundle exec resque-web 如果它是使用 bundler 安装的,它也可能不在您的 PATH 中。尝试检查您的路径变量并定位 resque-web。