我正在“Heroku上的node.js入门”中,我想通过以下方式“在本地运行应用程序”:
$foreman启动网络
(参见https://devcenter.heroku.com/articles/getting-started-with-nodejs#run-the-app-locally
它说:
/usr/local/foreman/lib/foreman/process.rb:54:inrun': undefined methodspawn'for process:module(nomethoderor)
来自/usr/local/foreman/lib/foreman/process.rb:53:inchdir' from /usr/local/foreman/lib/foreman/process.rb:53:inrun'
来自/usr/local/foreman/lib/foreman/engine.rb:356:inspawn_processes' from /usr/local/foreman/lib/foreman/engine.rb:353:in到'
来自/usr/local/foreman/lib/foreman/engine.rb:353:inspawn_processes' from /usr/local/foreman/lib/foreman/engine.rb:352:in每个
自/usr/local/foreman/lib/foreman/engine.rb:352:inspawn_processes' from /usr/local/foreman/lib/foreman/engine.rb:57:in启动
发件人/usr/local/foreman/lib/foreman/cli.rb:41:instart' from /usr/local/foreman/vendor/gems/thor-0.19.1/lib/thor/command.rb:27:insend'
来自/usr/local/foreman/vendor/gems/thor-0.19.1/lib/thor/command.rb:27:inrun' from /usr/local/foreman/vendor/gems/thor-0.19.1/lib/thor/invocation.rb:126:in调用命令
发件人/usr/local/foreman/vendor/gems/thor-0.19.1/lib/thor.rb:359:indispatch' from /usr/local/foreman/vendor/gems/thor-0.19.1/lib/thor/base.rb:440:instart'
发件人/usr/bin/foreman:15
(在Mac OS 10.7.5上运行)
有什么可以帮忙的吗?谢谢!

最佳答案

查看https://github.com/ddollar/foreman/issues/473
似乎与福尔曼或鲁比的旧版本有关。

07-28 10:14