首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >按照Python/Flask Heroku教程操作时,'foreman start‘出现错误

按照Python/Flask Heroku教程操作时,'foreman start‘出现错误
EN

Stack Overflow用户
提问于 2012-06-19 00:29:21
回答 2查看 1.2K关注 0票数 4

按照所有说明操作。运行foreman start时出现此错误

代码语言:javascript
复制
C:/Program Files (x86)/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/foreman-0.47.0/lib/fo reman/engine.rb:39:in `trap': unsupported signal SIGHUP (ArgumentError)
       from C:/Program Files (x86)/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/foreman-0.47.0/lib/foreman/engine.rb:39:in `start'
       from C:/Program Files (x86)/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/foreman-0.47.0/lib/foreman/cli.rb:34:in `start'
       from C:/Program Files (x86)/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/thor-0.15.3/lib/thor/task.rb:27:in `run'
       from C:/Program Files (x86)/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/thor-0.15.3/lib/thor/invocation.rb:120:in `invoke_task'
       from C:/Program Files (x86)/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/thor-0.15.3/lib/thor.rb:275:in `dispatch'
       from C:/Program Files (x86)/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/thor-0.15.3/lib/thor/base.rb:425:in `start'
       from C:/Program Files (x86)/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/foreman-0.47.0/bin/foreman:7:in `<top (required)>'
       from C:/Program Files (x86)/ruby-1.9.3/bin/foreman:19:in `load'
       from C:/Program Files (x86)/ruby-1.9.3/bin/foreman:19:in `<main>'
EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2012-07-11 23:42:53

我遇到了一个类似的问题并解决了它,我认为它也应该解决你的问题(一定要卸载以前安装的ruby,因为有时会有几个相同版本的安装)。以下是解决方案:Foreman start fails on Windows following Heroku tutorial

票数 3
EN

Stack Overflow用户

发布于 2012-06-20 05:02:58

因此,显然foreman不能在Windows上工作,这在Heroku教程中没有提到。希望他们能解决这个问题。

票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/11087100

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档