以前もハマって質問したのですが、解決せず、最初から作り直したらまた違った症状になってしまいました。ハマりっぱなしなので誰かお助けください。
デプロイ時の表示で問題あるっぽいところ
The latest bundler is 1.16.3, but you are currently running 1.15.2.
remote: To update, run gem install bundler
↑
もとのエラーはlockファイルと違うバージョンだからUpdateしろとWarningがでたのですが、Updateも何故かできなかったのでlockファイルのバージョンを1.15.2に書き換えたところ、Warningでは無くこの表示になりました。
remote: ###### WARNING:
remote:
remote: No Procfile detected, using the default web server.
remote: We recommend explicitly declaring how to boot your server process via a Procfile.
remote: https://devcenter.heroku.com/articles/ruby-default-web-server
↑
これについてはググってrootの指定をroutes.rbに記述したのですが改善せず。
herokuのログ
2018-08-05T05:51:21.391403+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/railties-4.2.8/lib/rails/application.rb:165:in call' 2018-08-05T05:51:21.391404+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/rack-1.6.10/lib/rack/lock.rb:17:in
call'
2018-08-05T05:51:21.391406+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/rack-1.6.10/lib/rack/content_length.rb:15:in call' 2018-08-05T05:51:21.391408+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/rack-1.6.10/lib/rack/handler/webrick.rb:88:in
service'
2018-08-05T05:51:21.391409+00:00 app[web.1]: vendor/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in service' 2018-08-05T05:51:21.391411+00:00 app[web.1]: vendor/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in
run'
2018-08-05T05:51:21.391413+00:00 app[web.1]: vendor/ruby-2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread'
2018-08-05T05:51:21.391414+00:00 app[web.1]:
2018-08-05T05:51:21.391416+00:00 app[web.1]:
2018-08-05T05:51:21.395422+00:00 heroku[router]: at=info method=GET path="/" host=jr-registration.herokuapp.com request_id=98a844ce-c571-4362-84c7-ded39e8f4c32 fwd="60.139.128.11" dyno=web.1 connect=0ms service=90ms status=500 bytes=1754 protocol=https
全くお手上げ状態なのでアドバイスいただければ幸いです。
よろしくお願いいたします。
あなたの回答
tips
プレビュー