###前提・実現したいこと
railsで自作アプリケーション作成後に、herokuでデプロイしたところ、エラーログが出てしまいました(アプリケーションエラー)。
1、2日格闘したのですが、よくわからず。わかる方いらっしゃいましたらどうかご教授頂きたくお願いいたします!
###発生している問題・エラーメッセージ
heroku上でのエラーログは以下の通りです
◆4/20 logs -tにて出力したものに入れ替えました 2017-04-19T13:32:38.000000+00:00 app[api]: Build started by user xxxxxxx@xxxxx.jp 2017-04-19T13:33:09.294751+00:00 app[api]: Deploy a7ef171 by user xxxxxxx@xxxxx.jp 2017-04-19T13:33:09.294751+00:00 app[api]: Release v11 created by user xxxxxxx@xxxxx.jp 2017-04-19T13:33:09.536227+00:00 app[api]: Release v11 created by user xxxxxxx@xxxxx.jp 2017-04-19T13:33:09.705955+00:00 heroku[web.1]: State changed from crashed to starting 2017-04-19T13:32:38.000000+00:00 app[api]: Build succeeded 2017-04-19T13:33:14.958238+00:00 heroku[web.1]: Starting process with command `bundle exec puma -C config/puma.rb` 2017-04-19T13:33:17.093245+00:00 app[web.1]: bundler: command not found: puma 2017-04-19T13:33:17.093264+00:00 app[web.1]: Install missing gem executables with `bundle install` 2017-04-19T13:33:17.202130+00:00 heroku[web.1]: Process exited with status 127 2017-04-19T13:33:17.204629+00:00 heroku[web.1]: State changed from starting to crashed 2017-04-19T13:33:17.205832+00:00 heroku[web.1]: State changed from crashed to starting 2017-04-19T13:33:22.722671+00:00 heroku[web.1]: Starting process with command `bundle exec puma -C config/puma.rb` 2017-04-19T13:33:25.005327+00:00 heroku[web.1]: Process exited with status 127 2017-04-19T13:33:24.927978+00:00 app[web.1]: bundler: command not found: puma 2017-04-19T13:33:24.928001+00:00 app[web.1]: Install missing gem executables with `bundle install` 2017-04-19T13:33:25.017683+00:00 heroku[web.1]: State changed from starting to crashed 2017-04-19T13:35:08.118659+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=xxxxxxx.herokuapp.com request_id=9c064dcb-6560-4066-bf8c-c75d9d82f5de fwd="xxx.xxx.xxx.xx" dyno= connect= service= status=503 bytes= protocol=https 2017-04-19T13:35:08.766013+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=xxxxx.herokuapp.com request_id=ee2bb605-9267-4580-ad34-fe1e6a010504 fwd="xxx.xx.xxx.xx" dyno= connect= service= status=503 bytes= protocol=https 2017-04-19T14:05:22.832782+00:00 heroku[web.1]: State changed from crashed to starting 2017-04-19T14:05:29.832761+00:00 heroku[web.1]: Starting process with command `bundle exec puma -C config/puma.rb` 2017-04-19T14:05:32.908857+00:00 app[web.1]: Install missing gem executables with `bundle install` 2017-04-19T14:05:32.908835+00:00 app[web.1]: bundler: command not found: puma 2017-04-19T14:05:33.048907+00:00 heroku[web.1]: State changed from starting to crashed 2017-04-19T14:05:33.031336+00:00 heroku[web.1]: Process exited with status 127 2017-04-19T14:14:41.000875+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=xxxxxxx.herokuapp.com request_id=a0dd220e-17c5-40f1-92a3-65b483b8576d fwd=" xxx.xx.xxx.xx " dyno= connect= service= status=503 bytes= protocol=https 2017-04-19T14:14:41.596031+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=xxxxxxx.herokuapp.com request_id=2100e41d-dab4-4677-8d71-a7248bbde791 fwd=" xxx.xx.xxx.xx " dyno= connect= service= status=503 bytes= protocol=https 2017-04-19T14:50:22.902551+00:00 heroku[web.1]: State changed from crashed to starting 2017-04-19T14:50:28.528956+00:00 heroku[web.1]: Starting process with command `bundle exec puma -C config/puma.rb` 2017-04-19T14:50:30.306320+00:00 heroku[web.1]: Process exited with status 127 2017-04-19T14:50:30.232313+00:00 app[web.1]: bundler: command not found: puma 2017-04-19T14:50:30.232329+00:00 app[web.1]: Install missing gem executables with `bundle install` 2017-04-19T14:50:30.326285+00:00 heroku[web.1]: State changed from starting to crashed 2017-04-19T16:15:40.234211+00:00 heroku[web.1]: State changed from crashed to starting 2017-04-19T16:15:45.817911+00:00 heroku[web.1]: Starting process with command `bundle exec puma -C config/puma.rb` 2017-04-19T16:15:47.840283+00:00 app[web.1]: bundler: command not found: puma 2017-04-19T16:15:47.840315+00:00 app[web.1]: Install missing gem executables with `bundle install` 2017-04-19T16:15:47.916464+00:00 heroku[web.1]: Process exited with status 127 2017-04-19T16:15:47.910091+00:00 heroku[web.1]: State changed from starting to crashed 2017-04-19T18:15:16.831776+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=xxxxxxx.herokuapp.com request_id=391fac77-dc33-4e94-96f6-5e22d89488e5 fwd="xxx.xxx.xxx.xx" dyno= connect= service= status=503 bytes= protocol=https 2017-04-19T18:15:17.874983+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=xxxxxx.herokuapp.com request_id=9d501351-960b-430c-819e-596723317658 fwd="xxx.xxx.xxx.xx" dyno= connect= service= status=503 bytes= protocol=https 2017-04-19T18:58:33.895044+00:00 heroku[web.1]: State changed from crashed to starting 2017-04-19T18:58:39.215545+00:00 heroku[web.1]: Starting process with command `bundle exec puma -C config/puma.rb` 2017-04-19T18:58:41.657221+00:00 app[web.1]: bundler: command not found: puma 2017-04-19T18:58:41.657238+00:00 app[web.1]: Install missing gem executables with `bundle install` 2017-04-19T18:58:41.811735+00:00 heroku[web.1]: Process exited with status 127 2017-04-19T18:58:41.828684+00:00 heroku[web.1]: State changed from starting to crashed ◆build logの中のwarningは以下が出ております ###### WARNING: Removing `vendor/bundle`. Checking in `vendor/bundle` is not supported. Please remove this directory and add it to your .gitignore. To vendor your gems with Bundler, use `bundle pack` instead.
###試したこと
$bundle install --path vendor/bundleにてvendor/bundleを作成 → vendor/bundle実行済みですが、
特には変わらず解決しませんでした。
■>goufさんへの追記
デプロイは以下情報もとに実行しました。
http://tanahiro.hatenablog.com/entry/2016/02/19/184142
※あとは、heroku上でのgithubとの連携も設定しております
>goufさんへの追記2
はい。インストール・認証もできております
>tbn.shさんへの追記
build logを確認したところ、warningが3つ出ていました。
2つは自力で消せたのですが、以下の対応方法がわからず解決できていません。もしお分かりになれば<m(__)m>
※エラーログもlogs -tにて取得しなおしたので、追加しました。
WARNING:
Removing `vendor/bundle`. Checking in `vendor/bundle` is not supported. Please remove this directory and add it to your .gitignore. To vendor your gems with Bundler, use `bundle pack` instead.
回答2件
あなたの回答
tips
プレビュー