- android - RelativeLayout 背景可绘制重叠内容
- android - 如何链接 cpufeatures lib 以获取 native android 库?
- java - OnItemClickListener 不起作用,但 OnLongItemClickListener 在自定义 ListView 中起作用
- java - Android 文件转字符串
我只是遵循了 Heroku 的 nodejs 入门教程。 https://devcenter.heroku.com/articles/getting-started-with-nodejs#declare-process-types-with-procfile
但我在“使用 procfile 声明进程类型”部分遇到错误我的问题是我的 cmd(使用 Windows 7)没有找到命令“foreman”
有什么解决办法吗?我下载/安装了 heroku toolbelt,登录工作正常,但工头没有
最佳答案
我在 Windows7 64 位上遇到了同样的问题,使用的是 git 的 bash。这是我所做的:
C:\Heroku
(有关更多信息,请参阅 known issue)C:\Program Files (x86)\git\bin;C:\Heroku\ruby-1.9.2\bin
添加到系统 PATH 变量:控制面板、系统、高级系统设置, Environment Variables..., System variables, Variable Path
, Edit...(更改 ruby-1.9.2
如果 future 版本的工具包包含更新版本的 ruby 。)$ gem uninstall foreman
$ gem install foreman -v 0.61
现在工头为我工作:$工头开始
关于windows - 无法找到 heroku toolbelt 在 windows 上安装的工头,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19078939/
我正在尝试在 Windows 上开始使用 Node.js。 在 localhost 上一切顺利,所以我决定尝试使用 heroku 来托管我的应用。 我关注了this tutorial一切顺利,直到 f
我正在学习本教程:http://tutorial.djangogirls.org/en/domain/README.html 但是当我运行 foreman start web 时,正如 heroku
从小小的烦恼开始,现在变成了头痛。我正在构建一个Rails 4应用程序,并使用Foreman进行我的开发设置,并使用Procfile和.env文件进行配置。当我在.env文件中设置ENV变量时,我的应
我正在运行 JRUBY 应用程序。偶然发现了一个叫做工头的伟大 gem : https://github.com/ddollar/foreman 但是我发现 - JVM 不支持 fork : for
我能够让工头运行,并且能够将 VM 自动部署到我的 vcenter,然后使用 puppet 配置它们。 无论如何,我得到了从模板克隆 VM 的要求。我遇到了以下似乎尚未实现的功能请求:http://p
我有 Procfile它启动了一个 rails 服务器和一个 gulp watch 任务。独立运行,这些任务用颜色格式化输出。在 Foreman 内部,他们没有。 基于 this answer ,我猜
尝试从命令行运行 foreman start 时出现上述错误。 我安装了 gem: gem install foreman 然后定义了一个procfile。为什么会出现此错误?当我运行工头列表时,我得
在我的本地计算机上,我尝试启动我的 Rails 应用程序并使用 Foreman 延迟工作人员。我的 Procfile 如下所示: web: bundle exec rails server -p $P
如何组合这两个命令,以便 Rails 在 puma 命令中使用 -b 选项? puma: puma -b 'ssl://127.0.0.1:3000?key=/Users/cdrum/.ssh/ser
我是一名优秀的程序员,十分优秀!