dimanche 28 octobre 2018

Ruby on rails Heroku deployment issue

I am completely new to ruby on rails and heroku. I deployed my first ruby on rails app to heroku and when I go to the website it says Application error.

Heroku Logs:

2018-10-28T13:56:03.196702+00:00 app[web.1]: from bin/rails:3:in <main>' 2018-10-28T13:56:03.316122+00:00 heroku[web.1]: State changed from starting to crashed 2018-10-28T13:56:03.287811+00:00 heroku[web.1]: Process exited with status 1 2018-10-28T19:40:08.313169+00:00 heroku[web.1]: State changed from crashed to starting 2018-10-28T19:40:14.732013+00:00 heroku[web.1]: Starting process with commandbin/rails server -p 38005 -e production2018-10-28T19:40:18.812465+00:00 heroku[web.1]: Process exited with status 1 2018-10-28T19:40:18.830606+00:00 heroku[web.1]: State changed from starting to crashed 2018-10-28T19:40:18.382604+00:00 app[web.1]: Ignoring bootsnap-1.3.2 because its extensions are not built. Try: gem pristine bootsnap --version 1.3.2 2018-10-28T19:40:18.722005+00:00 app[web.1]: /app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/spec_set.rb:87:inblock in materialize': Could not find nokogiri-1.8.5 in any of the sources (Bundler::GemNotFound) 2018-10-28T19:40:18.722046+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/spec_set.rb:81:in map!' 2018-10-28T19:40:18.722048+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/spec_set.rb:81:inmaterialize' 2018-10-28T19:40:18.722050+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/definition.rb:159:in specs' 2018-10-28T19:40:18.722052+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/definition.rb:218:inspecs_for' 2018-10-28T19:40:18.722053+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/definition.rb:207:in requested_specs' 2018-10-28T19:40:18.722055+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/runtime.rb:109:inblock in definition_method' 2018-10-28T19:40:18.722057+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/runtime.rb:21:in setup' 2018-10-28T19:40:18.722058+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler.rb:101:insetup' 2018-10-28T19:40:18.722060+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/setup.rb:19:in <top (required)>' 2018-10-28T19:40:18.722062+00:00 app[web.1]: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:135:inrequire' 2018-10-28T19:40:18.722063+00:00 app[web.1]: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:135:in rescue in require' 2018-10-28T19:40:18.722065+00:00 app[web.1]: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:39:inrequire' 2018-10-28T19:40:18.722067+00:00 app[web.1]: from /app/config/boot.rb:3:in <top (required)>' 2018-10-28T19:40:18.722069+00:00 app[web.1]: from bin/rails:3:inrequire_relative' 2018-10-28T19:40:18.722071+00:00 app[web.1]: from bin/rails:3:in <main>' 2018-10-29T00:17:06.000000+00:00 app[api]: Build started by user ronald.fulton@gmail.com 2018-10-29T00:17:10.000000+00:00 app[api]: Build failed -- check your build logs 2018-10-29T00:17:58.000000+00:00 app[api]: Build started by user ronald.fulton@gmail.com 2018-10-29T00:18:21.892970+00:00 heroku[web.1]: State changed from crashed to starting 2018-10-29T00:18:21.304032+00:00 app[api]: Deploy 58877da3 by user ronald.fulton@gmail.com 2018-10-29T00:18:21.304032+00:00 app[api]: Release v13 created by user ronald.fulton@gmail.com 2018-10-29T00:18:24.000000+00:00 app[api]: Build succeeded 2018-10-29T00:18:27.506319+00:00 heroku[web.1]: Starting process with commandbin/rails server -p 27973 -e production2018-10-29T00:18:31.363624+00:00 app[web.1]: Ignoring bootsnap-1.3.2 because its extensions are not built. Try: gem pristine bootsnap --version 1.3.2 2018-10-29T00:18:31.824489+00:00 app[web.1]: /app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/spec_set.rb:87:inblock in materialize': Could not find nokogiri-1.8.5 in any of the sources (Bundler::GemNotFound) 2018-10-29T00:18:31.824532+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/spec_set.rb:81:in map!' 2018-10-29T00:18:31.824536+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/spec_set.rb:81:inmaterialize' 2018-10-29T00:18:31.824537+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/definition.rb:159:in specs' 2018-10-29T00:18:31.824539+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/definition.rb:218:inspecs_for' 2018-10-29T00:18:31.824540+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/definition.rb:207:in requested_specs' 2018-10-29T00:18:31.824638+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/runtime.rb:109:inblock in definition_method' 2018-10-29T00:18:31.824640+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/runtime.rb:21:in setup' 2018-10-29T00:18:31.824641+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler.rb:101:insetup' 2018-10-29T00:18:31.824643+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/setup.rb:19:in <top (required)>' 2018-10-29T00:18:31.824645+00:00 app[web.1]: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:135:inrequire' 2018-10-29T00:18:31.824647+00:00 app[web.1]: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:135:in rescue in require' 2018-10-29T00:18:31.824649+00:00 app[web.1]: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:39:inrequire' 2018-10-29T00:18:31.824650+00:00 app[web.1]: from /app/config/boot.rb:3:in <top (required)>' 2018-10-29T00:18:31.824652+00:00 app[web.1]: from bin/rails:3:inrequire_relative' 2018-10-29T00:18:31.824654+00:00 app[web.1]: from bin/rails:3:in <main>' 2018-10-29T00:18:31.941992+00:00 heroku[web.1]: Process exited with status 1 2018-10-29T00:18:31.958003+00:00 heroku[web.1]: State changed from starting to crashed 2018-10-29T00:18:31.959507+00:00 heroku[web.1]: State changed from crashed to starting 2018-10-29T00:18:37.269542+00:00 heroku[web.1]: Starting process with commandbin/rails server -p 41633 -e production2018-10-29T00:18:41.490161+00:00 heroku[web.1]: State changed from starting to crashed 2018-10-29T00:18:41.084007+00:00 app[web.1]: Ignoring bootsnap-1.3.2 because its extensions are not built. Try: gem pristine bootsnap --version 1.3.2 2018-10-29T00:18:41.397420+00:00 app[web.1]: /app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/spec_set.rb:87:inblock in materialize': Could not find nokogiri-1.8.5 in any of the sources (Bundler::GemNotFound) 2018-10-29T00:18:41.397450+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/spec_set.rb:81:in map!' 2018-10-29T00:18:41.397458+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/spec_set.rb:81:inmaterialize' 2018-10-29T00:18:41.397460+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/definition.rb:159:in specs' 2018-10-29T00:18:41.397462+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/definition.rb:218:inspecs_for' 2018-10-29T00:18:41.397463+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/definition.rb:207:in requested_specs' 2018-10-29T00:18:41.397469+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/runtime.rb:109:inblock in definition_method' 2018-10-29T00:18:41.397471+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/runtime.rb:21:in setup' 2018-10-29T00:18:41.397473+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler.rb:101:insetup' 2018-10-29T00:18:41.397475+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/setup.rb:19:in <top (required)>' 2018-10-29T00:18:41.397481+00:00 app[web.1]: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:135:inrequire' 2018-10-29T00:18:41.397483+00:00 app[web.1]: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:135:in rescue in require' 2018-10-29T00:18:41.397485+00:00 app[web.1]: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:39:inrequire' 2018-10-29T00:18:41.397491+00:00 app[web.1]: from /app/config/boot.rb:3:in <top (required)>' 2018-10-29T00:18:41.397502+00:00 app[web.1]: from bin/rails:3:inrequire_relative' 2018-10-29T00:18:41.397512+00:00 app[web.1]: from bin/rails:3:in <main>' 2018-10-29T00:18:41.466149+00:00 heroku[web.1]: Process exited with status 1 2018-10-29T00:18:41.735532+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/robots.txt" host=morning-hamlet-16155.herokuapp.com request_id=e4e2ab8d-d442-45ee-a299-1f4d9d60d290 fwd="96.234.235.202" dyno= connect= service= status=503 bytes= protocol=https 2018-10-29T00:18:42.520766+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=morning-hamlet-16155.herokuapp.com request_id=32cfec4c-0f51-4254-9d59-09828813c74f fwd="96.234.235.202" dyno= connect= service= status=503 bytes= protocol=https 2018-10-29T00:18:42.894502+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/robots.txt" host=morning-hamlet-16155.herokuapp.com request_id=253496a8-f522-447c-b1e5-01b12dc72d15 fwd="96.234.235.202" dyno= connect= service= status=503 bytes= protocol=https 2018-10-29T00:18:43.130329+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=morning-hamlet-16155.herokuapp.com request_id=ef099caf-0669-429a-9a6c-5703c93a542d fwd="96.234.235.202" dyno= connect= service= status=503 bytes= protocol=https 2018-10-29T00:18:43.507737+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/robots.txt" host=morning-hamlet-16155.herokuapp.com request_id=6855b0ec-5723-4ada-bd1f-5df8e8c1ac49 fwd="96.234.235.202" dyno= connect= service= status=503 bytes= protocol=https 2018-10-29T00:18:44.457736+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=morning-hamlet-16155.herokuapp.com request_id=17f4a6fb-76ff-4bb2-bf29-ed6b702c477d fwd="96.234.235.202" dyno= connect= service= status=503 bytes= protocol=https 2018-10-29T00:40:38.462970+00:00 heroku[web.1]: State changed from crashed to starting 2018-10-29T00:40:43.768770+00:00 heroku[web.1]: Starting process with commandbin/rails server -p 43245 -e production2018-10-29T00:40:47.367294+00:00 app[web.1]: Ignoring bootsnap-1.3.2 because its extensions are not built. Try: gem pristine bootsnap --version 1.3.2 2018-10-29T00:40:47.927710+00:00 app[web.1]: /app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/spec_set.rb:87:inblock in materialize': Could not find nokogiri-1.8.5 in any of the sources (Bundler::GemNotFound) 2018-10-29T00:40:47.927736+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/spec_set.rb:81:in map!' 2018-10-29T00:40:47.927740+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/spec_set.rb:81:inmaterialize' 2018-10-29T00:40:47.927742+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/definition.rb:159:in specs' 2018-10-29T00:40:47.927744+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/definition.rb:218:inspecs_for' 2018-10-29T00:40:47.927745+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/definition.rb:207:in requested_specs' 2018-10-29T00:40:47.927748+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/runtime.rb:109:inblock in definition_method' 2018-10-29T00:40:47.927750+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/runtime.rb:21:in setup' 2018-10-29T00:40:47.927752+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler.rb:101:insetup' 2018-10-29T00:40:47.927753+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/setup.rb:19:in <top (required)>' 2018-10-29T00:40:47.927756+00:00 app[web.1]: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:135:inrequire' 2018-10-29T00:40:47.927758+00:00 app[web.1]: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:135:in rescue in require' 2018-10-29T00:40:47.927759+00:00 app[web.1]: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:39:inrequire' 2018-10-29T00:40:47.927762+00:00 app[web.1]: from /app/config/boot.rb:3:in <top (required)>' 2018-10-29T00:40:47.927764+00:00 app[web.1]: from bin/rails:3:inrequire_relative' 2018-10-29T00:40:47.927767+00:00 app[web.1]: from bin/rails:3:in `' 2018-10-29T00:40:48.028594+00:00 heroku[web.1]: State changed from starting to crashed 2018-10-29T00:40:48.011732+00:00 heroku[web.1]: Process exited with status 1 2018-10-29T01:42:48.359454+00:00 heroku[web.1]: State changed from crashed to starting

Aucun commentaire:

Enregistrer un commentaire