我在部署上遇到了问题。我的本地测试环境运行良好,没有错误。但是当我推送到Heroku时,出现了这个错误:
2013-07-17T15:54:04.619297+00:00 app[web.1]: bash: bin/rails: No such file or directory
2013-07-17T15:54:07.240398+00:00 heroku[web.1]: Process exited with status 127
2013-07-17T15:54:07.255379+00:00 heroku[web.1]: State changed from starting to crashed
2013-07-17T15:54:13.467325+00:00 heroku[web.1]: Error R99 (Platform error) -> Failed to launch the dyno within 10 seconds
2013-07-17T15:54:13.467325+00:00 heroku[web.1]: Stopping process with SIGKILL
2013-07-17T15:54:58.714647+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=radiant-thicket-1062.herokuapp.com fwd="174.4.33.188" dyno= connect= service= status=503 bytes=
我不确定哪里调用了bin/rails或如何解决这个问题。使用H10时,我在其他地方找不到任何关于这个的信息。就像只有我一个人经历过这种情况(不太可能..)!
如果有任何见解或帮助,我将不胜感激。谢谢!