Nex*_*tar 18 windows heroku foreman heroku-toolbelt
我只是从Heroku开始使用nodejs教程. https://devcenter.heroku.com/articles/getting-started-with-nodejs#declare-process-types-with-procfile
但我在部分"使用procfile声明进程类型"时出现错误我的问题是我的cmd(使用Windows 7)没有找到命令"foreman"
有解决方案吗 我下载/安装了heroku toolbelt,登录工作正常,但是工头不行
Mar*_*cok 32
我使用git的bash在Windows7 64位上遇到了同样的问题.这是我做的:
C:\Heroku(有关详细信息,请参阅已知问题)C:\Program Files (x86)\git\bin;C:\Heroku\ruby-1.9.2\bin到系统PATH变量:控制面板,系统,高级系统设置,环境变量...,系统变量,变量Path,编辑...(ruby-1.9.2如果工具箱的未来版本包含更新版本的Ruby,则更改.)$ gem uninstall foreman$ gem install foreman -v 0.61现在领班为我工作:
$ foreman start
您无需卸载/重新安装即可执行此操作:
C:\Program Files (x86)\Heroku\ruby-x.x.x\bin到系统路径(假设您在此目录中安装了heroku工具带).foreman start.| 归档时间: |
|
| 查看次数: |
11593 次 |
| 最近记录: |