" Heroku上的Node.js入门"

时间:2014-12-16 20:10:38

标签: node.js heroku foreman

我正在和#34;在Heroku"上开始使用Node.js,我想在那里"在本地运行应用程序"通过: $ foreman start web (参见https://devcenter.heroku.com/articles/getting-started-with-nodejs#run-the-app-locally

它说: /usr/local/foreman/lib/foreman/process.rb:54:in run': undefined method spawn' for Process:Module(NoMethodError)     来自/usr/local/foreman/lib/foreman/process.rb:53:in chdir' from /usr/local/foreman/lib/foreman/process.rb:53:in运行'     来自/usr/local/foreman/lib/foreman/engine.rb:356:in spawn_processes' from /usr/local/foreman/lib/foreman/engine.rb:353:in upto'     来自/usr/local/foreman/lib/foreman/engine.rb:353:in spawn_processes' from /usr/local/foreman/lib/foreman/engine.rb:352:in每个'     来自/usr/local/foreman/lib/foreman/engine.rb:352:in spawn_processes' from /usr/local/foreman/lib/foreman/engine.rb:57:in开始'     来自/usr/local/foreman/lib/foreman/cli.rb:41:in start' from /usr/local/foreman/vendor/gems/thor-0.19.1/lib/thor/command.rb:27:in 发送'     来自/usr/local/foreman/vendor/gems/thor-0.19.1/lib/thor/command.rb:27:in run' from /usr/local/foreman/vendor/gems/thor-0.19.1/lib/thor/invocation.rb:126:in invoke_command'     来自/usr/local/foreman/vendor/gems/thor-0.19.1/lib/thor.rb:359:in dispatch' from /usr/local/foreman/vendor/gems/thor-0.19.1/lib/thor/base.rb:440:in开始'     来自/ usr / bin / foreman:15

(在Mac OS 10.7.5上运行)

任何想法可能会有所帮助?谢谢!

1 个答案:

答案 0 :(得分:0)

结帐https://github.com/ddollar/foreman/issues/473。 似乎与老版本的工头或红宝石有关。