2012-06-18 3 views
4

모든 지침을 따르십시오. foreman start를 실행할 때이 오류가 발생합니다 :Python/Flask Heroku 튜토리얼을 따르는 동안 '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>' 
+1

'Procfile'에 무엇이 있습니까? –

+1

튜토리얼에 따라 내가해야 할 일. 웹 : python app.py –

답변

3

비슷한 문제가 발생하여 해결되었으므로 문제가 해결되어야한다고 생각합니다 (이전 버전의 루비를 제거해야합니다). 해결책은 다음과 같습니다. Foreman start fails on Windows following Heroku tutorial

+0

감사합니다. 솔루션이 작동합니다. –

3

그래서, 분명히 foreman는 Heroku가 튜토리얼에서 언급되지 않은 윈도우, 작동하지 않습니다. 그들이 그것을 고치는 것을 희망한다.

+0

어디서 볼 수 있습니까? –

+1

Heroku 지원 담당자와 통화했습니다. –

+3

@Rosarch - 저는 창문에서 숙련공을 사용할 수있었습니다. http://stackoverflow.com/questions/11434287/foreman-start-fails-on-windows-following-heroku-tuturial/11436332#11436332에서 답변을 살펴 보았습니다. 그래서 그들의 지지자들은 업데이트되지 않았을 것입니다. – zenpoy

관련 문제