我一直试图完成this tutorial个,但却遇到了foreman start
行的问题.我正在使用一台windows 7 64位机器,并试图在Heroku Toolbelt提供的git bash终端上实现这一点.
当我输入foreman start
时,我收到:
sh.exe": /c/Program Files (x86)/Heroku/ruby-1.9.2/bin/foreman: "c:/Program: bad
interpreter: No such file or directory
所以我try 在git bash中输入cmd,输入cmd
,然后使用foreman start
(类似于a comment on one of the answers to this question).这就是它产生的结果:
Bad file descriptor
c:/Program Files (x86)/Heroku/ruby-1.9.2/lib/ruby/gems/1.9.1/gems/foreman-0.62.0
/lib/foreman/engine.rb:377:in `read_nonblock'
c:/Program Files (x86)/Heroku/ruby-1.9.2/lib/ruby/gems/1.9.1/gems/foreman-0.62.0
/lib/foreman/engine.rb:377:in `block (2 levels) in watch_for_output'
c:/Program Files (x86)/Heroku/ruby-1.9.2/lib/ruby/gems/1.9.1/gems/foreman-0.62.0
/lib/foreman/engine.rb:373:in `loop'
c:/Program Files (x86)/Heroku/ruby-1.9.2/lib/ruby/gems/1.9.1/gems/foreman-0.62.0
/lib/foreman/engine.rb:373:in `block in watch_for_output'
21:06:08 web.1 | exited with code 1
21:06:08 system | sending SIGKILL to all processes
我不知道第二组错误试图告诉我什么,因为它似乎声称是引擎的文件位置.rb正在运行,我的计算机上甚至不存在.
我已经研究过类似问题的其他答案,但是我没有收到类似的错误,因此我认为目前不存在解决我问题的方法.