(遵循Heroku的Node.js指令)之后出现错误

解答:不要把Gemfile放到Node.js项目的根目录下。 Heroku得到了困惑,并把它看作是一个Ruby应用程序。

我试图按照Heroku文档中的说明进行操作,但是收到一个错误:“没有这样的文件或目录 – 节点web.js”。

我的Procfile是…

web: node web.js 

工头按预期在本地运行。

这是一个logging快照

 2011-07-21T23:28:49+00:00 heroku[web.1]: State changed from starting to crashed 2011-07-21T23:37:50+00:00 heroku[web.1]: State changed from crashed to created 2011-07-21T23:37:50+00:00 heroku[web.1]: State changed from created to starting 2011-07-21T23:37:51+00:00 heroku[web.1]: Starting process with command: `node web.js` 2011-07-21T23:37:51+00:00 app[web.1]: Error: No such file or directory - node web.js 2011-07-21T23:37:52+00:00 heroku[web.1]: Process exited 

而我的英雄ps输出…

 Process State Command ------------ ------------------ ------------------------------ web.1 crashed for 8m node web.js 

来源是https://github.com/just3ws/hellode

如果没有在本地运行,我会前进,只是假设它只是我。

提前致谢。

我的猜测是Gemfile或.rvmrc;)

http://twitter.com/ryanbriones/status/94212379654631424