工头从人工路径开始 [英] foreman start with a manual path
问题描述
/ c / 程序文件 /ruby-1.9.2/bin/foreman:C: / 程序:糟糕的解释器:没有这样的文件或目录
我的问题是:有没有办法通过手动添加整个路径?或者我应该在哪里改变它?谢谢。
在阅读knut的回答后,我通过重新安装Heroku Toolbelt C:\heroku 。重新安装后, heroku 命令可以正常工作,但是 foreman 不会运行。我通过手动将以下内容添加到我的系统路径来解决此问题。
C:\heroku\ruby-1.9.2\\ \\ bin
您可能需要搜索foreman程序以获取上述路径的版本这对你的系统是正确的。
我还需要用0.61代替foreman version 0.62,我从此帖子。
I am trying to run foreman on heroku. This is a common error, however, i still didnt find a solution. It is clearly missing a path here:
"/c/Program Files/ruby-1.9.2/bin/foreman: "C:/Program: bad interpreter: no such file or directory
My question is: is there a way to avoid this error by manually adding the whole path? Or where should I look to change it? Thank you.
After reading knut's answer to this question, I fixed this problem on my system by re-installing Heroku Toolbelt to c:\heroku. After re-installation, the heroku command worked, but foreman would not run. I fixed this by manually adding the following to my system path.
C:\heroku\ruby-1.9.2\bin
You'll likely need to search for the foreman program to get the version of the above path that's correct for your system.
I also needed to replace foreman version 0.62 with 0.61, which I learned from this post.
这篇关于工头从人工路径开始的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!