【发布时间】:2014-07-09 09:15:03
【问题描述】:
我正在将我的 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)...我真的不知道它可能是什么。在 localhost 中一切正常。
【问题讨论】:
-
命令
bundle exec rackup config.ru -p 31614在本地工作吗? -
@hjing
bundle exec rackup config.ru -p 31614在本地不起作用。相反,我收到消息configuration /home/.../config.ru not found
标签: ruby heroku deployment sinatra