工头从人工路径开始 [英] foreman start with a manual path

查看:150
本文介绍了工头从人工路径开始的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在努力在heroku上运行工头。这是一个常见的错误,但是,我仍然没有找到解决方案。这里显然缺少一个路径:



/ 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆