私が得ているエラー:
アプリケーションエラー
An error occurred in the application and your page could not be served. Please try again in a few moments.
If you are the application owner, check your logs for details.
したがって、ログを確認したところ、これは役に立たなかった:
2013-07-23T19:49:41.457624+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=rankthisuptest1.herokuapp.com fwd="190.3.13.2" dyno= connect= service= status=503 bytes=
アプリについて
Ruby on Rails は初めてなので、これは単純なサンプル アプリです。しかし、私がテストしたと思うこと:
1)正しいSQLを使用しています:
group :production do
gem 'pg', '0.15.1'
end
2)私は本番環境にバンドルしています(最初は本番環境なしでバンドルしていたため、問題の原因となった可能性がありますが、現在はそれを変更しました)、テストなしでバンドルを実行しています。
多分ルートに問題がありますか?
どんな提案でも構いません、ありがとう!