前提・実現したいこと
rails チュートリアルの第一章でのherokuを用いたデプロイにおいて、cloud9では開けるのですが、herokuでデプロイした際に成功するのですがアプリを開くとApplication Error が出てしまいます。
以下は heroku logsの結果一部です。
発生している問題・エラーメッセージ
2020-01-29T13:33:54.203090+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.5.0/gems/railties-5.0.3/lib/rails/commands/commands_tasks.rb:49:in `run_command!' 2020-01-29T13:33:54.203091+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.5.0/gems/railties-5.0.3/lib/rails/commands.rb:18:in `<top (required)>' 2020-01-29T13:33:54.203093+00:00 app[web.1]: from bin/rails:9:in `require' 2020-01-29T13:33:54.203094+00:00 app[web.1]: from bin/rails:9:in `<main>' 2020-01-29T13:33:54.205640+00:00 app[web.1]: => Booting Puma 2020-01-29T13:33:54.205643+00:00 app[web.1]: => Rails 5.0.3 application starting in production on http://0.0.0.0:26125 2020-01-29T13:33:54.205645+00:00 app[web.1]: => Run `rails server -h` for more startup options 2020-01-29T13:33:54.205647+00:00 app[web.1]: Exiting 2020-01-29T13:33:54.247261+00:00 heroku[web.1]: Process exited with status 1 2020-01-29T13:36:36.687008+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=calm-bayou-76900.herokuapp.com request_id=a109c958-1784-4726-b9c5-4a8c672a36f2 fwd="210.136.17.206" dyno= connect= service= status=503 bytes= protocol=https 2020-01-29T13:36:37.109114+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=calm-bayou-76900.herokuapp.com request_id=31689820-0a4d-478b-be9b-f13be3b4c885 fwd="210.136.17.206" dyno= connect= service= status=503 bytes= protocol=https 2020-01-29T13:37:52.777209+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=calm-bayou-76900.herokuapp.com request_id=e51e7b6e-4e43-4bb3-8737-3ffd9b6935fb fwd="210.136.17.206" dyno= connect= service= status=503 bytes= protocol=https 2020-01-29T13:37:53.200234+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=calm-bayou-76900.herokuapp.com request_id=26558a3b-4f37-4ae2-be46-c034d9fcfea2 fwd="210.136.17.206" dyno= connect= service= status=503 bytes= protocol=https 2020-01-29T13:45:35.903872+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=calm-bayou-76900.herokuapp.com request_id=82f29260-b31b-452a-9e91-be5239daf05c fwd="210.136.17.206" dyno= connect= service= status=503 bytes= protocol=https 2020-01-29T13:45:36.232749+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=calm-bayou-76900.herokuapp.com request_id=a424309b-00be-4ac9-8236-75619f60d325 fwd="210.136.17.206" dyno= connect= service= status=503 bytes= protocol=https
試したこと
Gemfileの'pg'のバージョンの書き換え(gem 'pg','<1.0.0' としてみた)
補足情報(FW/ツールのバージョンなど)
環境はcloud9です。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。