4

Followed all instructions. Get this error when running 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>'
Roman Levin
  • 461
  • 3
  • 18

2 Answers2

3

So, apparently foreman does not work on Windows, which was not mentioned in the Heroku tutorial. Hope they fix that.

Roman Levin
  • 461
  • 3
  • 18
  • 3
    @Rosarch - I was able to use foreman on windows, look at the answer at http://stackoverflow.com/questions/11434287/foreman-start-fails-on-windows-following-heroku-tuturial/11436332#11436332 , So I guess their support guys are not updated. – zenpoy Jul 11 '12 at 15:44
  • this answer is incorrect. foreman is a ruby app, so you need to install ruby first. see the link zenpoy provided. – changokun Aug 04 '13 at 20:15
3

I encountered a similar problem and solved it, I think it should solve your issue too (be sure to uninstall former installations of ruby as sometimes there are several installations of the same version). Here is the solution: Foreman start fails on Windows following Heroku tutorial

Community
  • 1
  • 1
zenpoy
  • 19,490
  • 9
  • 60
  • 87