3

我正在使用 Resque 和 Resque 调度程序,但是当我输入命令resque-web时它没有运行。而是提示错误:

bash: resque-web: command not found
那么如何在我的本地服务器上启动这个 resque-web。

4

3 回答 3

5

它可能试图打开默认浏览器但没有这样做。尝试使用:

$ resque-web -L

于 2012-05-11T04:32:00.717 回答
4
$ 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 上运行它。

于 2011-01-19T22:17:50.647 回答
3

bundle exec resque-web 如果它是使用 bundler 安装的,它也可能不在您的 PATH 中。尝试检查您的路径变量并定位 resque-web。

于 2010-10-08T12:27:04.430 回答