我正在将Sinatra应用部署到Heroku上,但当我使用
heroku logs
命令时,出现了以下跟踪信息:State changed from crashed to starting
configuration /app/config.ru not found
State changed from starting to crashed
at=error code=H10 desc="App crashed" method=GET path=/ host=... request_id=... status=503 bytes=
...heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=... dyno= connect= service= status=503 bytes=
Starting process with command `bundle exec rackup config.ru -p 31614`
Process exited with status 1
有什么问题 - 是我的 Ruby 版本 (ruby 1.9.3p484
) 吗...我真的不知道可能是什么原因。在本地主机上一切都很好。
bundle exec rackup config.ru -p 31614
这个命令在本地可以工作吗? - hjingbundle exec rackup config.ru -p 31614
失败,提示信息为configuration /home/.../config.ru not found
。 - maudulus