4

遵循所有指示。运行时出现此错误foreman start

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>'
4

2 回答 2

3

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

于 2012-06-19T21:02:58.277 回答
3

我遇到了类似的问题并解决了它,我认为它也应该解决您的问题(请务必卸载以前安装的 ruby​​,因为有时有多个相同版本的安装)。解决方案如下:Foreman start 在 Windows 上按照 Heroku 教程失败

于 2012-07-11T15:42:52.710 回答