[英]foreman error while “Getting Started with Node.js on Heroku”
我正处于“Heroku上的Node.js入门”中,我希望通过以下方式“在本地运行应用程序”: $ foreman start web (参见https://devcenter.heroku.com/articles/getting- start-with-nodejs#run-the-app-local )
它说:/usr/local/foreman/lib/foreman/process.rb:54: run': undefined method
spawn'for Process:来自/usr/local/foreman/lib/foreman/process.rb的模块(NoMethodError) :53: 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
来自/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
开头'from /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
发送 'from /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 :从/ usr / bin / foreman dispatch' from /usr/local/foreman/vendor/gems/thor-0.19.1/lib/thor/base.rb:440:in
start':15
(在Mac OS 10.7.5上运行)
任何想法可能有什么帮助? 谢谢!
查看https://github.com/ddollar/foreman/issues/473 。 似乎与老版本的工头或红宝石有关。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.