My Rails 4 application works perfectly on my local machine, but when I deploy to Heroku I get an application error. The error occurs even though Heroku says the deployment was successful. The text of the error message is:
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.
To troubleshoot the problem, I ran "heroku logs" in the console, which generated the following:
2015-06-18T00:42:56.355811+00:00 heroku[api]: Release v84 created by xxxxx#xxxxx.com
2015-06-18T00:42:56.418446+00:00 heroku[slug-compiler]: Slug compilation started
2015-06-18T00:42:56.418465+00:00 heroku[slug-compiler]: Slug compilation finished
2015-06-18T00:42:57.437719+00:00 heroku[web.1]: State changed from crashed to starting
2015-06-18T00:43:02.751137+00:00 heroku[web.1]: Starting process with command `bundle exec unicorn -p 58907 -c ./config/unicorn.rb`
2015-06-18T00:43:06.428523+00:00 app[web.1]: I, [2015-06-18T00:43:06.428375 #3] INFO -- : Refreshing Gem list
2015-06-18T00:43:08.143475+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:247:in `require': /app/app/helpers/simple_form.rb:5: syntax error, unexpected ')', expecting => (SyntaxError)
2015-06-18T00:43:08.143482+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:247:in `block in require'
2015-06-18T00:43:08.143486+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:247:in `require'
2015-06-18T00:43:08.143484+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:232:in `load_dependency'
2015-06-18T00:43:08.143487+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:348:in `require_or_load'
2015-06-18T00:43:08.143491+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:307:in `depend_on'
2015-06-18T00:43:08.143492+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:225:in `require_dependency'
2015-06-18T00:43:08.143493+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.8/lib/rails/engine.rb:468:in `block (2 levels) in eager_load!'
2015-06-18T00:43:08.143497+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.8/lib/rails/engine.rb:467:in `each'
2015-06-18T00:43:08.143499+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.8/lib/rails/engine.rb:467:in `block in eager_load!'
2015-06-18T00:43:08.143502+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.8/lib/rails/engine.rb:465:in `each'
2015-06-18T00:43:08.143504+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.8/lib/rails/engine.rb:465:in `eager_load!'
2015-06-18T00:43:08.143507+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.8/lib/rails/engine.rb:346:in `eager_load!'
2015-06-18T00:43:08.143509+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.8/lib/rails/application/finisher.rb:58:in `each'
2015-06-18T00:43:08.143512+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.8/lib/rails/application/finisher.rb:58:in `block in <module:Finisher>'
2015-06-18T00:43:08.143513+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.8/lib/rails/initializable.rb:30:in `instance_exec'
2015-06-18T00:43:08.143517+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.8/lib/rails/initializable.rb:30:in `run'
2015-06-18T00:43:08.143520+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.8/lib/rails/initializable.rb:55:in `block in run_initializers'
2015-06-18T00:43:08.143522+00:00 app[web.1]: from /app/vendor/ruby- 2.0.0/lib/ruby/2.0.0/tsort.rb:150:in `block in tsort_each'
2015-06-18T00:43:08.143531+00:00 app[web.1]: from /app/vendor/ruby- 2.0.0/lib/ruby/2.0.0/tsort.rb:183:in `block (2 levels) in each_strongly_connected_component'
2015-06-18T00:43:08.143534+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:219:in `each_strongly_connected_component_from'
2015-06-18T00:43:08.143536+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:182:in `block in each_strongly_connected_component'
2015-06-18T00:43:08.143538+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:180:in `each'
2015-06-18T00:43:08.143539+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:180:in `each_strongly_connected_component'
2015-06-18T00:43:08.143542+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:148:in `tsort_each'
2015-06-18T00:43:08.143545+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.8/lib/rails/application.rb:300:in `initialize!'
2015-06-18T00:43:08.143544+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.8/lib/rails/initializable.rb:54:in `run_initializers'
2015-06-18T00:43:08.143548+00:00 app[web.1]: from /app/config/environment.rb:5:in `<top (required)>'
2015-06-18T00:43:08.143550+00:00 app[web.1]: from config.ru:4:in `require'
2015-06-18T00:43:08.143554+00:00 app[web.1]: from config.ru:4:in `block in <main>'
2015-06-18T00:43:08.143555+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in `instance_eval'
2015-06-18T00:43:08.143559+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in `initialize'
2015-06-18T00:43:08.143561+00:00 app[web.1]: from config.ru:1:in `new'
2015-06-18T00:43:08.143564+00:00 app[web.1]: from config.ru:1:in `<main>'
2015-06-18T00:43:08.143572+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/unicorn-4.8.3/lib/unicorn.rb:48:in `block in builder'
2015-06-18T00:43:08.143569+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/unicorn-4.8.3/lib/unicorn.rb:48:in `eval'
2015-06-18T00:43:08.143574+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:764:in `call'
2015-06-18T00:43:08.143577+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:764:in `build_app!'
2015-06-18T00:43:08.143588+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/bin/unicorn:23:in `<main>'
2015-06-18T00:43:08.143579+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:137:in `start'
2015-06-18T00:43:08.143583+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/unicorn-4.8.3/bin/unicorn:126:in `<top (required)>'
2015-06-18T00:43:08.143586+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/bin/unicorn:23:in `load'
2015-06-18T00:43:09.019077+00:00 heroku[web.1]: Process exited with status 1
2015-06-18T00:43:09.035754+00:00 heroku[web.1]: State changed from starting to crashed
2015-06-18T00:43:09.037320+00:00 heroku[web.1]: State changed from crashed to starting
2015-06-18T00:43:12.753943+00:00 heroku[web.1]: Starting process with command `bundle exec unicorn -p 44603 -c ./config/unicorn.rb`
2015-06-18T00:43:15.031204+00:00 app[web.1]: I, [2015-06-18T00:43:15.031071 #3] INFO -- : Refreshing Gem list
**2015-06-18T00:43:16.824808+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:247:in `require': /app/app/helpers/simple_form.rb:5: syntax error, unexpected ')', expecting => (SyntaxError)**
2015-06-18T00:43:16.824815+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:247:in `block in require'
2015-06-18T00:43:16.824818+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:232:in `load_dependency'
2015-06-18T00:43:16.824822+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:247:in `require'
2015-06-18T00:43:16.824825+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:348:in `require_or_load'
2015-06-18T00:43:16.824832+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:225:in `require_dependency'
2015-06-18T00:43:16.824853+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.8/lib/rails/engine.rb:468:in `block (2 levels) in eager_load!'
2015-06-18T00:43:16.824829+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:307:in `depend_on'
2015-06-18T00:43:16.824855+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.8/lib/rails/engine.rb:467:in `each'
2015-06-18T00:43:16.824859+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.8/lib/rails/engine.rb:467:in `block in eager_load!'
2015-06-18T00:43:16.824863+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.8/lib/rails/engine.rb:465:in `each'
2015-06-18T00:43:16.824864+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.8/lib/rails/engine.rb:465:in `eager_load!'
2015-06-18T00:43:16.824866+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.8/lib/rails/engine.rb:346:in `eager_load!'
2015-06-18T00:43:16.824867+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.8/lib/rails/application/finisher.rb:58:in `each'
2015-06-18T00:43:16.824871+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.8/lib/rails/application/finisher.rb:58:in `block in <module:Finisher>'
2015-06-18T00:43:16.824872+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.8/lib/rails/initializable.rb:30:in `instance_exec'
2015-06-18T00:43:16.824874+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.8/lib/rails/initializable.rb:30:in `run'
2015-06-18T00:43:16.824877+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.8/lib/rails/initializable.rb:55:in `block in run_initializers'
2015-06-18T00:43:16.824879+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:150:in `block in tsort_each'
2015-06-18T00:43:16.824897+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:183:in `block (2 levels) in each_strongly_connected_component'
2015-06-18T00:43:16.824898+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:219:in `each_strongly_connected_component_from'
2015-06-18T00:43:16.824903+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:182:in `block in each_strongly_connected_component'
2015-06-18T00:43:16.824905+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:180:in `each'
2015-06-18T00:43:16.824906+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:180:in `each_strongly_connected_component'
2015-06-18T00:43:16.824907+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:148:in `tsort_each'
2015-06-18T00:43:16.824909+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.8/lib/rails/initializable.rb:54:in `run_initializers'
2015-06-18T00:43:16.824910+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.8/lib/rails/application.rb:300:in `initialize!'
2015-06-18T00:43:16.824916+00:00 app[web.1]: from config.ru:4:in `require'
2015-06-18T00:43:16.824912+00:00 app[web.1]: from /app/config/environment.rb:5:in `<top (required)>'
2015-06-18T00:43:16.824917+00:00 app[web.1]: from config.ru:4:in `block in <main>'
2015-06-18T00:43:16.824919+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in `instance_eval'
2015-06-18T00:43:16.824921+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in `initialize'
2015-06-18T00:43:16.824923+00:00 app[web.1]: from config.ru:1:in `new'
2015-06-18T00:43:16.824926+00:00 app[web.1]: from config.ru:1:in `<main>'
2015-06-18T00:43:16.824927+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/unicorn-4.8.3/lib/unicorn.rb:48:in `eval'
2015-06-18T00:43:16.824929+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/unicorn-4.8.3/lib/unicorn.rb:48:in `block in builder'
2015-06-18T00:43:16.824930+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:764:in `call'
2015-06-18T00:43:16.824935+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:137:in `start'
2015-06-18T00:43:16.824934+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:764:in `build_app!'
2015-06-18T00:43:16.824936+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/unicorn-4.8.3/bin/unicorn:126:in `<top (required)>'
2015-06-18T00:43:16.824940+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/bin/unicorn:23:in `load'
2015-06-18T00:43:16.824941+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/bin/unicorn:23:in `<main>'
2015-06-18T00:43:17.765684+00:00 heroku[web.1]: State changed from starting to crashed
2015-06-18T00:43:17.751742+00:00 heroku[web.1]: Process exited with status 1
2015-06-18T00:43:18.999914+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=gym-app.herokuapp.com request_id=7fe8bc0d-7744-4b9a-a6af-841451c30b8f fwd="67.100.124.109" dyno= connect= service= status=503 bytes=
2015-06-18T00:43:40.236226+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=gym-app.herokuapp.com request_id=54039c3e-c328-4ecd-b379-917fb5e33fec fwd="67.100.124.109" dyno= connect= service= status=503 bytes=
2015-06-18T00:44:26.777920+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=gym-app.herokuapp.com request_id=7169af3e-6665-4c9c-9498-8695f31c6f78 fwd="67.100.124.109" dyno= connect= service= status=503 bytes=
2015-06-18T00:48:08.390055+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=gym-app.herokuapp.com request_id=07bfbcef-38da-4d68-b5e4-6bf29e3816ae fwd="67.100.124.109" dyno= connect= service= status=503 bytes=
I'm not certain, but I think I've identified the source of the problem. The following line stands out to me:
2015-06-18T00:43:16.824808+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:247:in `require': /app/app/helpers/simple_form.rb:5: syntax error, unexpected ')', expecting => (SyntaxError)
Here's the contents of my simple_form helper file:
module SimpleForm
module Inputs
class DateTimePickerInput < Base
def input
#builder.text_field(attribute_name, :class => 'date_time_picker', input_html_options)
end
end
end
end
Note that before I coded the helper file, I could successfully deploy the application to Heroku. It appears Heroku is balking at my syntax - particularly, the closing parenthesis). However, I don't know how to correct the issue. What do I need to do to satisfy Heroku? I'd appreciate any help in getting my application successfully deployed again. Thanks!
Just replace:
#builder.text_field(attribute_name, :class => 'date_time_picker', input_html_options)
With:
#builder.text_field(attribute_name, input_html_options.merge(:class => 'date_time_picker'))
And it will do the trick.
Edit
After reading again this answer I realize that this code always overwrite the :class parameter. If you want use the called parameter instead of the default parameter, you can achieve this changing merge with reverse_merge.
Edit2
You can remove the curly braces of a hash option parameter only if it is the last parameter. For this case, text_fields accepts 2 parameters and :class belongs to the second.
Related
When I run the app I get "application error" message, the app was first created using ruby on rails, run on local rails server normally, and the I was trying to deploy to heroku, I modified the gemfile, and db file, and here is what I get when I run heroku logs --tail:
2020-11-04T12:11:30.972666+00:00 app[web.1]: /app/vendor/ruby-2.7.2/lib/ruby/2.7.0/psych.rb:456:in `parse': (<unknown>): did not find expected key while parsing a block mapping at line 7 column 1 (Psych::SyntaxError)
2020-11-04T12:11:30.972671+00:00 app[web.1]: from /app/vendor/ruby-2.7.2/lib/ruby/2.7.0/psych.rb:456:in `parse_stream'
2020-11-04T12:11:30.972671+00:00 app[web.1]: from /app/vendor/ruby-2.7.2/lib/ruby/2.7.0/psych.rb:390:in `parse'
2020-11-04T12:11:30.972672+00:00 app[web.1]: from /app/vendor/ruby-2.7.2/lib/ruby/2.7.0/psych.rb:277:in `load'
2020-11-04T12:11:30.972672+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/application/configuration.rb:228:in `database_configuration'
2020-11-04T12:11:30.972675+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/railtie.rb:200:in `block (2 levels) in <class:Railtie>'
2020-11-04T12:11:30.972675+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/lazy_load_hooks.rb:71:in `class_eval'
2020-11-04T12:11:30.972678+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/lazy_load_hooks.rb:71:in `block in execute_hook'
2020-11-04T12:11:30.972680+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/lazy_load_hooks.rb:61:in `with_execution_control'
2020-11-04T12:11:30.972682+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/lazy_load_hooks.rb:66:in `execute_hook'
2020-11-04T12:11:30.972684+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/lazy_load_hooks.rb:52:in `block in run_load_hooks'
2020-11-04T12:11:30.972702+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/lazy_load_hooks.rb:51:in `each'
2020-11-04T12:11:30.972703+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/lazy_load_hooks.rb:51:in `run_load_hooks'
2020-11-04T12:11:30.972703+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/base.rb:327:in `<module:ActiveRecord>'
2020-11-04T12:11:30.972707+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/base.rb:27:in `<main>'
2020-11-04T12:11:30.972707+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.5.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
2020-11-04T12:11:30.972710+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.5.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
2020-11-04T12:11:30.972710+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.5.0/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
2020-11-04T12:11:30.972713+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.5.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
2020-11-04T12:11:30.972734+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.5.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
2020-11-04T12:11:30.972734+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.4.1/lib/zeitwerk/kernel.rb:33:in `require'
2020-11-04T12:11:30.972735+00:00 app[web.1]: from /app/app/models/application_record.rb:1:in `<main>'
2020-11-04T12:11:30.972735+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.5.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
2020-11-04T12:11:30.972737+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.5.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
2020-11-04T12:11:30.972738+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.5.0/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
2020-11-04T12:11:30.972740+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.5.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
2020-11-04T12:11:30.972742+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.5.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
2020-11-04T12:11:30.972744+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.4.1/lib/zeitwerk/kernel.rb:26:in `require'
2020-11-04T12:11:30.972747+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.4.1/lib/zeitwerk/loader.rb:387:in `const_get'
2020-11-04T12:11:30.972768+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.4.1/lib/zeitwerk/loader.rb:387:in `block (2 levels) in eager_load'
2020-11-04T12:11:30.972769+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.4.1/lib/zeitwerk/loader.rb:711:in `block in ls'
2020-11-04T12:11:30.972769+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.4.1/lib/zeitwerk/loader.rb:703:in `foreach'
2020-11-04T12:11:30.972770+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.4.1/lib/zeitwerk/loader.rb:703:in `ls'
2020-11-04T12:11:30.972770+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.4.1/lib/zeitwerk/loader.rb:382:in `block in eager_load'
2020-11-04T12:11:30.972774+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.4.1/lib/zeitwerk/loader.rb:371:in `synchronize'
2020-11-04T12:11:30.972775+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.4.1/lib/zeitwerk/loader.rb:371:in `eager_load'
2020-11-04T12:11:30.972777+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.4.1/lib/zeitwerk/loader.rb:486:in `each'
2020-11-04T12:11:30.972778+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.4.1/lib/zeitwerk/loader.rb:486:in `eager_load_all'
2020-11-04T12:11:30.972780+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/application/finisher.rb:122:in `block in <module:Finisher>'
2020-11-04T12:11:30.972782+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/initializable.rb:32:in `instance_exec'
2020-11-04T12:11:30.972785+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/initializable.rb:32:in `run'
2020-11-04T12:11:30.972804+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/initializable.rb:61:in `block in run_initializers'
2020-11-04T12:11:30.972804+00:00 app[web.1]: from /app/vendor/ruby-2.7.2/lib/ruby/2.7.0/tsort.rb:228:in `block in tsort_each'
2020-11-04T12:11:30.972804+00:00 app[web.1]: from /app/vendor/ruby-2.7.2/lib/ruby/2.7.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
2020-11-04T12:11:30.972805+00:00 app[web.1]: from /app/vendor/ruby-2.7.2/lib/ruby/2.7.0/tsort.rb:431:in `each_strongly_connected_component_from'
2020-11-04T12:11:30.972807+00:00 app[web.1]: from /app/vendor/ruby-2.7.2/lib/ruby/2.7.0/tsort.rb:349:in `block in each_strongly_connected_component'
2020-11-04T12:11:30.972807+00:00 app[web.1]: from /app/vendor/ruby-2.7.2/lib/ruby/2.7.0/tsort.rb:347:in `each'
2020-11-04T12:11:30.972810+00:00 app[web.1]: from /app/vendor/ruby-2.7.2/lib/ruby/2.7.0/tsort.rb:347:in `call'
2020-11-04T12:11:30.972812+00:00 app[web.1]: from /app/vendor/ruby-2.7.2/lib/ruby/2.7.0/tsort.rb:347:in `each_strongly_connected_component'
2020-11-04T12:11:30.972815+00:00 app[web.1]: from /app/vendor/ruby-2.7.2/lib/ruby/2.7.0/tsort.rb:226:in `tsort_each'
2020-11-04T12:11:30.972817+00:00 app[web.1]: from /app/vendor/ruby-2.7.2/lib/ruby/2.7.0/tsort.rb:205:in `tsort_each'
2020-11-04T12:11:30.972836+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/initializable.rb:60:in `run_initializers'
2020-11-04T12:11:30.972836+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/application.rb:363:in `initialize!'
2020-11-04T12:11:30.972836+00:00 app[web.1]: from /app/config/environment.rb:5:in `<main>'
2020-11-04T12:11:30.972837+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.5.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
2020-11-04T12:11:30.972839+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.5.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
2020-11-04T12:11:30.972840+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.5.0/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
2020-11-04T12:11:30.972842+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.5.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
2020-11-04T12:11:30.972844+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.5.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
2020-11-04T12:11:30.972861+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.4.1/lib/zeitwerk/kernel.rb:33:in `require'
2020-11-04T12:11:30.972862+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/dependencies.rb:324:in `block in require'
2020-11-04T12:11:30.972862+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/dependencies.rb:291:in `load_dependency'
2020-11-04T12:11:30.972864+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/dependencies.rb:324:in `require'
2020-11-04T12:11:30.972866+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.5.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:53:in `require_relative'
2020-11-04T12:11:30.972867+00:00 app[web.1]: from config.ru:3:in `block in <main>'
2020-11-04T12:11:30.972869+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:116:in `eval'
2020-11-04T12:11:30.972871+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:116:in `new_from_string'
2020-11-04T12:11:30.972888+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:105:in `load_file'
2020-11-04T12:11:30.972889+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:66:in `parse_file'
2020-11-04T12:11:30.972889+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/server.rb:349:in `build_app_and_options_from_config'
2020-11-04T12:11:30.972890+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/server.rb:249:in `app'
2020-11-04T12:11:30.972892+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/server.rb:422:in `wrapped_app'
2020-11-04T12:11:30.972894+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/server.rb:312:in `block in start'
2020-11-04T12:11:30.972896+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/server.rb:379:in `handle_profiling'
2020-11-04T12:11:30.972913+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/server.rb:311:in `start'
2020-11-04T12:11:30.972914+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/commands/server/server_command.rb:39:in `start'
2020-11-04T12:11:30.972914+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/commands/server/server_command.rb:147:in `block in perform'
2020-11-04T12:11:30.972914+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/commands/server/server_command.rb:138:in `tap'
2020-11-04T12:11:30.972917+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/commands/server/server_command.rb:138:in `perform'
2020-11-04T12:11:30.972939+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/command.rb:27:in `run'
2020-11-04T12:11:30.972940+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/invocation.rb:127:in `invoke_command'
2020-11-04T12:11:30.972940+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/thor-1.0.1/lib/thor.rb:392:in `dispatch'
2020-11-04T12:11:30.972940+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/command/base.rb:69:in `perform'
2020-11-04T12:11:30.972941+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/command.rb:46:in `invoke'
2020-11-04T12:11:30.972941+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.4/lib/rails/commands.rb:18:in `<main>'
2020-11-04T12:11:30.972942+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.5.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
2020-11-04T12:11:30.972942+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.5.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
2020-11-04T12:11:30.972944+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.5.0/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
2020-11-04T12:11:30.972945+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.5.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
2020-11-04T12:11:30.972945+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.5.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
2020-11-04T12:11:30.972947+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/dependencies.rb:324:in `block in require'
2020-11-04T12:11:30.972967+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/dependencies.rb:291:in `load_dependency'
2020-11-04T12:11:30.972968+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/dependencies.rb:324:in `require'
2020-11-04T12:11:30.972968+00:00 app[web.1]: from bin/rails:4:in `<main>'
2020-11-04T12:11:31.043454+00:00 heroku[web.1]: Process exited with status 1
2020-11-04T12:11:31.076414+00:00 heroku[web.1]: State changed from starting to crashed
2020-11-04T12:11:50.686699+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=stormy-taiga-90658.herokuapp.com request_id=d9fa1626-2cda-4039-977c-61c81a0402b3 fwd="196.158.140.61" dyno= connect= service= status=503 bytes= protocol=https
2020-11-04T12:11:51.693479+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=stormy-taiga-90658.herokuapp.com request_id=a8764c9b-1deb-49dd-9457-8f66f3489d5a fwd="196.158.140.61" dyno= connect= service= status=503 bytes= protocol=https
2020-11-04T12:13:14.203621+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=stormy-taiga-90658.herokuapp.com request_id=a11633c0-7422-4e98-ae59-19532ed046e9 fwd="196.158.140.61" dyno= connect= service= status=503 bytes= protocol=https
2020-11-04T12:13:14.814209+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=stormy-taiga-90658.herokuapp.com request_id=86daa46a-0450-4da5-ae2a-e6ed7f0f8826 fwd="196.158.140.61" dyno= connect= service= status=503 bytes= protocol=https
I installed postgresql using the windows installer,and followed all the instruction.
It looks like the .yml file you're trying to parse might be ill-formatted. This is happening inside configuration.rb, line 228, when the function 'database_configuration' receives something else while expecting a key. You should verify that the yml file that is fed to that function on line 228 is well-formatted, well-indented, that quotation marks are correctly in place and such.
Everything was fine with my Heroku app deployment for the duration of my following the rails tutorial on railstutorial.org/ by Michael Hartl until I got to chapter 13 (Microposts). I meticulously followed the guides. However, on app deployment, I get this error
Application error An error occurred in the application and your page
could not be served. If you are the application owner, check your logs
for details.
I have reset the database, run migrate and seed several times over as suggested by solutions offered to similar issues and yet with no luck. Here is the log file sample:
2018-05-18T22:14:48.676937+00:00 heroku[web.1]: Starting process with command `bin/rails server -p 10900 -e production`
2018-05-18T22:14:54.060567+00:00 heroku[web.1]: State changed from starting to crashed
2018-05-18T22:14:53.960648+00:00 app[web.1]: /app/vendor/bundle/ruby/2.3.0/gems/carrierwave-1.2.2/lib/carrierwave/uploader/configuration.rb:78:in `eval': uninitialized constant CarrierWave::Storage::Fog (NameError)
2018-05-18T22:14:53.960656+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/carrierwave-1.2.2/lib/carrierwave/uploader/configuration.rb:78:in `eval'
2018-05-18T22:14:53.960657+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/carrierwave-1.2.2/lib/carrierwave/uploader/configuration.rb:78:in `storage'
2018-05-18T22:14:53.960661+00:00 app[web.1]: from /app/app/uploaders/picture_uploader.rb:8:in `<class:PictureUploader>'
2018-05-18T22:14:53.960662+00:00 app[web.1]: from /app/app/uploaders/picture_uploader.rb:1:in `<top (required)>'
2018-05-18T22:14:53.960664+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies/interlock.rb:12:in `block in loading'
2018-05-18T22:14:53.960665+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/concurrency/share_lock.rb:149:in `exclusive'
2018-05-18T22:14:53.960666+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies/interlock.rb:11:in `loading'
2018-05-18T22:14:53.960668+00:00 app[web.1]: from /app/app/models/micropost.rb:4:in `<class:Micropost>'
2018-05-18T22:14:53.960669+00:00 app[web.1]: from /app/app/models/micropost.rb:1:in `<top (required)>'
2018-05-18T22:14:53.960670+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies/interlock.rb:12:in `block in loading'
2018-05-18T22:14:53.960709+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/concurrency/share_lock.rb:149:in `exclusive'
2018-05-18T22:14:53.960763+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies/interlock.rb:11:in `loading'
2018-05-18T22:14:53.960765+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/engine.rb:476:in `block (2 levels) in eager_load!'
2018-05-18T22:14:53.960767+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/engine.rb:475:in `each'
2018-05-18T22:14:53.960769+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/engine.rb:475:in `block in eager_load!'
2018-05-18T22:14:53.960854+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/engine.rb:473:in `each'
2018-05-18T22:14:53.960857+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/engine.rb:473:in `eager_load!'
2018-05-18T22:14:53.960858+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/engine.rb:354:in `eager_load!'
2018-05-18T22:14:53.960860+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/application/finisher.rb:67:in `each'
2018-05-18T22:14:53.960861+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/application/finisher.rb:67:in `block in <module:Finisher>'
2018-05-18T22:14:53.960867+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/initializable.rb:30:in `instance_exec'
2018-05-18T22:14:53.960868+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/initializable.rb:30:in `run'
2018-05-18T22:14:53.960870+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/initializable.rb:59:in `block in run_initializers'
2018-05-18T22:14:53.960871+00:00 app[web.1]: from /app/vendor/ruby-2.3.7/lib/ruby/2.3.0/tsort.rb:228:in `block in tsort_each'
2018-05-18T22:14:53.960873+00:00 app[web.1]: from /app/vendor/ruby-2.3.7/lib/ruby/2.3.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
2018-05-18T22:14:53.960874+00:00 app[web.1]: from /app/vendor/ruby-2.3.7/lib/ruby/2.3.0/tsort.rb:431:in `each_strongly_connected_component_from'
2018-05-18T22:14:53.960876+00:00 app[web.1]: from /app/vendor/ruby-2.3.7/lib/ruby/2.3.0/tsort.rb:349:in `block in each_strongly_connected_component'
2018-05-18T22:14:53.960877+00:00 app[web.1]: from /app/vendor/ruby-2.3.7/lib/ruby/2.3.0/tsort.rb:347:in `each'
2018-05-18T22:14:53.960881+00:00 app[web.1]: from /app/vendor/ruby-2.3.7/lib/ruby/2.3.0/tsort.rb:347:in `call'
2018-05-18T22:14:53.960883+00:00 app[web.1]: from /app/vendor/ruby-2.3.7/lib/ruby/2.3.0/tsort.rb:347:in `each_strongly_connected_component'
2018-05-18T22:14:53.960884+00:00 app[web.1]: from /app/vendor/ruby-2.3.7/lib/ruby/2.3.0/tsort.rb:226:in `tsort_each'
2018-05-18T22:14:53.960887+00:00 app[web.1]: from /app/vendor/ruby-2.3.7/lib/ruby/2.3.0/tsort.rb:205:in `tsort_each'
2018-05-18T22:14:53.960888+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/initializable.rb:58:in `run_initializers'
2018-05-18T22:14:53.960889+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/application.rb:353:in `initialize!'
2018-05-18T22:14:53.960892+00:00 app[web.1]: from /app/config/environment.rb:5:in `<top (required)>'
2018-05-18T22:14:53.960893+00:00 app[web.1]: from config.ru:3:in `require_relative'
2018-05-18T22:14:53.960894+00:00 app[web.1]: from config.ru:3:in `block in <main>'
2018-05-18T22:14:53.960897+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/rack-2.0.5/lib/rack/builder.rb:55:in `instance_eval'
2018-05-18T22:14:53.960898+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/rack-2.0.5/lib/rack/builder.rb:55:in `initialize'
2018-05-18T22:14:53.960900+00:00 app[web.1]: from config.ru:in `new'
2018-05-18T22:14:53.960901+00:00 app[web.1]: from config.ru:in `<main>'
2018-05-18T22:14:53.960904+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/rack-2.0.5/lib/rack/builder.rb:49:in `eval'
2018-05-18T22:14:53.960905+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/rack-2.0.5/lib/rack/builder.rb:49:in `new_from_string'
2018-05-18T22:14:53.960907+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/rack-2.0.5/lib/rack/builder.rb:40:in `parse_file'
2018-05-18T22:14:53.960908+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/rack-2.0.5/lib/rack/server.rb:319:in `build_app_and_options_from_config'
2018-05-18T22:14:53.960911+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/rack-2.0.5/lib/rack/server.rb:219:in `app'
2018-05-18T22:14:53.960913+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/commands/server/server_command.rb:24:in `app'
2018-05-18T22:14:53.960914+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/rack-2.0.5/lib/rack/server.rb:354:in `wrapped_app'
2018-05-18T22:14:53.960917+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/rack-2.0.5/lib/rack/server.rb:283:in `start'
2018-05-18T22:14:53.960919+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/commands/server/server_command.rb:44:in `start'
2018-05-18T22:14:53.960920+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/commands/server/server_command.rb:135:in `block in perform'
2018-05-18T22:14:53.960922+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/commands/server/server_command.rb:130:in `tap'
2018-05-18T22:14:53.960924+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/commands/server/server_command.rb:130:in `perform'
2018-05-18T22:14:53.960926+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/thor-0.20.0/lib/thor/command.rb:27:in `run'
2018-05-18T22:14:53.960928+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/thor-0.20.0/lib/thor/invocation.rb:126:in `invoke_command'
2018-05-18T22:14:53.960935+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/thor-0.20.0/lib/thor.rb:387:in `dispatch'
2018-05-18T22:14:53.960938+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/command/base.rb:63:in `perform'
2018-05-18T22:14:53.960939+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/command.rb:44:in `invoke'
2018-05-18T22:14:53.960941+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/commands.rb:16:in `<top (required)>'
2018-05-18T22:14:53.960944+00:00 app[web.1]: from bin/rails:9:in `require'
2018-05-18T22:14:53.960945+00:00 app[web.1]: from bin/rails:9:in `<main>'
2018-05-18T22:14:53.970120+00:00 app[web.1]: => Booting Puma
2018-05-18T22:14:53.970122+00:00 app[web.1]: => Rails 5.1.4 application starting in production
2018-05-18T22:14:53.970124+00:00 app[web.1]: => Run `rails server -h` for more startup options
2018-05-18T22:14:53.970125+00:00 app[web.1]: Exiting
2018-05-18T22:14:54.042883+00:00 heroku[web.1]: Process exited with status 1
2018-05-18T22:15:16.572035+00:00 heroku[web.1]: State changed from crashed to starting
2018-05-18T22:37:55.303199+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=stark-lowlands-20410.herokuapp.com request_id=0c17f93e-2b8d-4836-9918-d6cb6300c67f fwd="137.50.176.88" dyno= connect= service= status=503 bytes= protocol=https
2018-05-18T22:38:01.314179+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=stark-lowlands-20410.herokuapp.com request_id=ace627d1-ff26-4003-8e42-119c266420b8 fwd="137.50.176.88" dyno= connect= service= status=503 bytes= protocol=https
Somehow I think it has something to do with the image resize code here (initializers/skip_image_resizing.rb):
if Rails.env.test?
CarrierWave.configure do |config|
config.enable_processing = false
end
end
Any ideas?
I keep getting this error message. I've tried 50 different ways to solve it but no luck. I am also having a hard time just understanding what the error is. Thank you in advance for any love!
2014-12-21T23:32:05.126017+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.6.0/lib/rack/server.rb:336:in `wrapped_app'
2014-12-21T23:32:05.126014+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.0.rc3/lib/rails/commands/server.rb:61:in `app'
2014-12-21T23:32:05.126018+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.6.0/lib/rack/server.rb:272:in `start'
2014-12-21T23:32:05.126013+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.6.0/lib/rack/server.rb:208:in `app'
2014-12-21T23:32:05.125976+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:183:in `block (2 levels) in each_strongly_connected_component'
2014-12-21T23:32:05.126020+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.0.rc3/lib/rails/commands/server.rb:80:in `start'
2014-12-21T23:32:05.126026+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.0.rc3/lib/rails/commands/commands_tasks.rb:75:in `server'
2014-12-21T23:32:05.126024+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.0.rc3/lib/rails/commands/commands_tasks.rb:75:in `tap'
2014-12-21T23:32:05.126035+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.0.rc3/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
2014-12-21T23:32:05.126041+00:00 app[web.1]: from bin/rails:8:in `require'
2014-12-21T23:32:05.126037+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.0.rc3/lib/rails/commands.rb:17:in `<top (required)>'
2014-12-21T23:32:05.125995+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/dependencies.rb:274:in `require'
2014-12-21T23:32:05.126023+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.0.rc3/lib/rails/commands/commands_tasks.rb:80:in `block in server'
2014-12-21T23:32:05.126042+00:00 app[web.1]: from bin/rails:8:in `<main>'
2014-12-21T23:32:05.931736+00:00 heroku[web.1]: State changed from starting to crashed
2014-12-21T23:32:05.921721+00:00 heroku[web.1]: Process exited with status 1
2014-12-21T23:36:07.676326+00:00 heroku[api]: Release v9 created by xxxxxxxx#gmail.com
2014-12-21T23:36:07.676298+00:00 heroku[api]: Deploy 9a08d09 by xxxxxxxx#gmail.com
2014-12-21T23:36:07.827584+00:00 heroku[web.1]: State changed from crashed to starting
2014-12-21T23:36:11.853325+00:00 heroku[web.1]: Starting process with command `bin/rails server -p 25861 -e production`
2014-12-21T23:36:14.746043+00:00 app[web.1]: => Booting WEBrick
2014-12-21T23:36:14.746066+00:00 app[web.1]: => Rails 4.2.0.rc3 application starting in production on http://0.0.0.0:25861
2014-12-21T23:36:14.746069+00:00 app[web.1]: => Run `rails server -h` for more startup options
2014-12-21T23:36:14.746071+00:00 app[web.1]: => Ctrl-C to shutdown server
2014-12-21T23:36:14.746073+00:00 app[web.1]: Exiting
2014-12-21T23:36:14.747382+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/devise-3.4.0/app/controllers/devise_controller.rb:2:in `<top (required)>'
2014-12-21T23:36:14.747377+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/devise-3.4.0/app/controllers/devise_controller.rb:13:in `<class:DeviseController>': undefined local variable or method `mimes_for_respond_to' for DeviseController:Class (NameError)
2014-12-21T23:36:14.747387+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/dependencies.rb:274:in `block in require'
2014-12-21T23:36:14.747384+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/dependencies.rb:274:in `require'
2014-12-21T23:36:14.747389+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/dependencies.rb:240:in `load_dependency'
2014-12-21T23:36:14.747393+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/dependencies.rb:274:in `require'
2014-12-21T23:36:14.747394+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/dependencies.rb:360:in `require_or_load'
2014-12-21T23:36:14.747398+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/dependencies.rb:494:in `load_missing_constant'
2014-12-21T23:36:14.747400+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/dependencies.rb:184:in `const_missing'
2014-12-21T23:36:14.747401+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/devise-3.4.0/app/controllers/devise/confirmations_controller.rb:1:in `<top (required)>'
2014-12-21T23:36:14.747409+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/dependencies.rb:240:in `load_dependency'
2014-12-21T23:36:14.747405+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/dependencies.rb:274:in `require'
2014-12-21T23:36:14.747407+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/dependencies.rb:274:in `block in require'
2014-12-21T23:36:14.747425+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/dependencies.rb:360:in `require_or_load'
2014-12-21T23:36:14.747412+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/dependencies.rb:274:in `require'
2014-12-21T23:36:14.747430+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/dependencies.rb:233:in `require_dependency'
2014-12-21T23:36:14.747429+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/dependencies.rb:317:in `depend_on'
2014-12-21T23:36:14.747431+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.0.rc3/lib/rails/engine.rb:472:in `block (2 levels) in eager_load!'
2014-12-21T23:36:14.747437+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.0.rc3/lib/rails/engine.rb:471:in `block in eager_load!'
2014-12-21T23:36:14.747435+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.0.rc3/lib/rails/engine.rb:471:in `each'
2014-12-21T23:36:14.747449+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.0.rc3/lib/rails/application/finisher.rb:56:in `block in <module:Finisher>'
2014-12-21T23:36:14.747441+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.0.rc3/lib/rails/engine.rb:469:in `eager_load!'
2014-12-21T23:36:14.747454+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.0.rc3/lib/rails/initializable.rb:30:in `run'
2014-12-21T23:36:14.747460+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:150:in `block in tsort_each'
2014-12-21T23:36:14.747440+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.0.rc3/lib/rails/engine.rb:469:in `each'
2014-12-21T23:36:14.747445+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.0.rc3/lib/rails/engine.rb:346:in `eager_load!'
2014-12-21T23:36:14.747446+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.0.rc3/lib/rails/application/finisher.rb:56:in `each'
2014-12-21T23:36:14.747456+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.0.rc3/lib/rails/initializable.rb:55:in `block in run_initializers'
2014-12-21T23:36:14.747451+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.0.rc3/lib/rails/initializable.rb:30:in `instance_exec'
2014-12-21T23:36:14.747461+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:183:in `block (2 levels) in each_strongly_connected_component'
2014-12-21T23:36:14.747462+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:219:in `each_strongly_connected_component_from'
2014-12-21T23:36:14.747467+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:180:in `each'
2014-12-21T23:36:14.747466+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:182:in `block in each_strongly_connected_component'
2014-12-21T23:36:14.747476+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.0.rc3/lib/rails/initializable.rb:54:in `run_initializers'
2014-12-21T23:36:14.747500+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/dependencies.rb:274:in `block in require'
2014-12-21T23:36:14.747471+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:180:in `each_strongly_connected_component'
2014-12-21T23:36:14.747503+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/dependencies.rb:274:in `require'
2014-12-21T23:36:14.747477+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.0.rc3/lib/rails/application.rb:352:in `initialize!'
2014-12-21T23:36:14.747472+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:148:in `tsort_each'
2014-12-21T23:36:14.747479+00:00 app[web.1]: from /app/config/environment.rb:5:in `<top (required)>'
2014-12-21T23:36:14.747496+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/dependencies.rb:274:in `require'
2014-12-21T23:36:14.747502+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/dependencies.rb:240:in `load_dependency'
2014-12-21T23:36:14.747506+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.6.0/lib/rack/builder.rb:55:in `instance_eval'
2014-12-21T23:36:14.747504+00:00 app[web.1]: from /app/config.ru:3:in `block in <main>'
2014-12-21T23:36:14.747514+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.6.0/lib/rack/builder.rb:49:in `eval'
2014-12-21T23:36:14.747507+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.6.0/lib/rack/builder.rb:55:in `initialize'
2014-12-21T23:36:14.747511+00:00 app[web.1]: from /app/config.ru:in `new'
2014-12-21T23:36:14.747512+00:00 app[web.1]: from /app/config.ru:in `<main>'
2014-12-21T23:36:14.747515+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.6.0/lib/rack/builder.rb:49:in `new_from_string'
2014-12-21T23:36:14.747528+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.0.rc3/lib/rails/commands/server.rb:80:in `start'
2014-12-21T23:36:14.747524+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.6.0/lib/rack/server.rb:336:in `wrapped_app'
2014-12-21T23:36:14.747522+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.0.rc3/lib/rails/commands/server.rb:61:in `app'
2014-12-21T23:36:14.747520+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.6.0/lib/rack/server.rb:299:in `build_app_and_options_from_config'
2014-12-21T23:36:14.747521+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.6.0/lib/rack/server.rb:208:in `app'
2014-12-21T23:36:14.747530+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.0.rc3/lib/rails/commands/commands_tasks.rb:80:in `block in server'
2014-12-21T23:36:14.747516+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.6.0/lib/rack/builder.rb:40:in `parse_file'
2014-12-21T23:36:14.747533+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.0.rc3/lib/rails/commands/commands_tasks.rb:75:in `tap'
2014-12-21T23:36:14.747543+00:00 app[web.1]: from bin/rails:8:in `<main>'
2014-12-21T23:36:14.747536+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.0.rc3/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
2014-12-21T23:36:14.747527+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.6.0/lib/rack/server.rb:272:in `start'
2014-12-21T23:36:14.747534+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.0.rc3/lib/rails/commands/commands_tasks.rb:75:in `server'
2014-12-21T23:36:14.747539+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.0.rc3/lib/rails/commands.rb:17:in `<top (required)>'
2014-12-21T23:36:14.747540+00:00 app[web.1]: from bin/rails:8:in `require'
2014-12-21T23:36:15.581730+00:00 heroku[web.1]: Process exited with status 1
2014-12-21T23:36:15.589824+00:00 heroku[web.1]: State changed from starting to crashed
2014-12-21T23:36:16.415280+00:00 heroku[api]: Starting process with command `bundle exec rake db:migrate` by anthonygalli.com#gmail.com
2014-12-21T23:36:19.814074+00:00 heroku[run.5090]: Awaiting client
2014-12-21T23:36:19.840853+00:00 heroku[run.5090]: Starting process with command `bundle exec rake db:migrate`
2014-12-21T23:36:20.345366+00:00 heroku[run.5090]: State changed from starting to up
2014-12-21T23:36:24.110001+00:00 heroku[run.5090]: Process exited with status 0
2014-12-21T23:36:24.123483+00:00 heroku[run.5090]: State changed from up to complete
2014-12-21T23:36:41.983845+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=rule-today.herokuapp.com request_id=fed24950-d302-46b1-8361-a94c4a4fcef5 fwd="73.0.11.102" dyno= connect= service= status=503 bytes=
2014-12-21T23:36:43.256151+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=rule-today.herokuapp.com request_id=3cf8849a-4750-4a24-9cc5-ff6c1b0c7b5d fwd="73.0.11.102" dyno= connect= service= status=503 bytes=
2014-12-21T23:36:43.641459+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=rule-today.herokuapp.com request_id=f1f36122-99d6-41d8-8df9-a88f52572360 fwd="73.0.11.102" dyno= connect= service= status=503 bytes=
2014-12-21T23:36:43.789730+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=rule-today.herokuapp.com request_id=88861f5f-5b5a-491b-a168-db35a4b54549 fwd="73.0.11.102" dyno= connect= service= status=503 bytes=
2014-12-21T23:36:43.796995+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=rule-today.herokuapp.com request_id=17a1d09f-fd4d-49d6-901b-3a56b15f8f0f fwd="73.0.11.102" dyno= connect= service= status=503 bytes=
Try running
$heroku run rails console
in the terminal, this should point out some of your errors, then go back into your text editor to fix them.
I am getting the notorious H10 error code when I deploy my rails app to Heroku. I am able to run the app fine on localhost in both development and production environments, but the app crashes on the Heroku server, and for the life of me I cannot figure out why. Any help would greatly be appreciated. Here is the Heroku log output:
2014-05-09T17:41:54.182987+00:00 app[web.1]: from /app/vendor/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:226:in `block in tsort_each'
2014-05-09T17:41:54.182991+00:00 app[web.1]: from /app/vendor/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
2014-05-09T17:41:54.183000+00:00 app[web.1]: from /app/vendor/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:345:in `each'
2014-05-09T17:41:54.183002+00:00 app[web.1]: from /app/vendor/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:345:in `call'
2014-05-09T17:41:54.183037+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/railties-4.1.0/lib/rails/initializable.rb:54:in `run_initializers'
2014-05-09T17:41:54.183039+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/railties-4.1.0/lib/rails/application.rb:288:in `initialize!'
2014-05-09T17:41:54.183044+00:00 app[web.1]: from /app/config/environment.rb:5:in `<top (required)>'
2014-05-09T17:41:54.183046+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:247:in `require'
2014-05-09T17:41:54.183048+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:247:in `block in require'
2014-05-09T17:41:54.183050+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:232:in `load_dependency'
2014-05-09T17:41:54.183073+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:247:in `require'
2014-05-09T17:41:54.183004+00:00 app[web.1]: from /app/vendor/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:345:in `each_strongly_connected_component'
2014-05-09T17:41:54.183032+00:00 app[web.1]: from /app/vendor/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:224:in `tsort_each'
2014-05-09T17:41:54.183035+00:00 app[web.1]: from /app/vendor/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:205:in `tsort_each'
2014-05-09T17:41:54.183075+00:00 app[web.1]: from /app/config.ru:3:in `block in <main>'
2014-05-09T17:41:54.183081+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in `instance_eval'
2014-05-09T17:41:54.183083+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in `initialize'
2014-05-09T17:41:54.183085+00:00 app[web.1]: from /app/config.ru:in `new'
2014-05-09T17:41:54.183087+00:00 app[web.1]: from /app/config.ru:in `<main>'
2014-05-09T17:41:54.183089+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/builder.rb:49:in `eval'
2014-05-09T17:41:54.183091+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/builder.rb:49:in `new_from_string'
2014-05-09T17:41:54.183094+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/builder.rb:40:in `parse_file'
2014-05-09T17:41:54.183095+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/server.rb:277:in `build_app_and_options_from_config'
2014-05-09T17:41:54.183098+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/server.rb:199:in `app'
2014-05-09T17:41:54.183100+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/railties-4.1.0/lib/rails/commands/server.rb:50:in `app'
2014-05-09T17:41:54.183105+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/server.rb:314:in `wrapped_app'
2014-05-09T17:41:54.183107+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/server.rb:250:in `start'
2014-05-09T17:41:54.183109+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/railties-4.1.0/lib/rails/commands/server.rb:69:in `start'
2014-05-09T17:41:54.183111+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/railties-4.1.0/lib/rails/commands/commands_tasks.rb:81:in `block in server'
2014-05-09T17:41:54.183114+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/railties-4.1.0/lib/rails/commands/commands_tasks.rb:76:in `tap'
2014-05-09T17:41:54.183116+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/railties-4.1.0/lib/rails/commands/commands_tasks.rb:76:in `server'
2014-05-09T17:41:54.183118+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/railties-4.1.0/lib/rails/commands/commands_tasks.rb:40:in `run_command!'
2014-05-09T17:41:54.183120+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/railties-4.1.0/lib/rails/commands.rb:17:in `<top (required)>'
2014-05-09T17:41:54.183137+00:00 app[web.1]: from bin/rails:8:in `require'
2014-05-09T17:41:54.183144+00:00 app[web.1]: from bin/rails:8:in `<main>'
2014-05-09T17:41:55.497609+00:00 heroku[web.1]: State changed from starting to crashed
2014-05-09T17:41:55.477865+00:00 heroku[web.1]: Process exited with status 1
2014-05-09T17:42:20.351071+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=gym-buddy.herokuapp.com request_id=338088e2-cd48-4e03-b86d-f10affcc1fe6 fwd="50.161.122.172" dyno= connect= service= status=503 bytes=
2014-05-09T17:43:09.850563+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=gym-buddy.herokuapp.com request_id=c8aabac5-40d9-4280-ae09-f98e732d5aec fwd="50.161.122.172" dyno= connect= service= status=503 bytes=
2014-05-09T17:43:10.096915+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=gym-buddy.herokuapp.com request_id=d7f811bc-552b-468f-bad6-b64cc6c2b7d0 fwd="50.161.122.172" dyno= connect= service= status=503 bytes=
2014-05-09T17:47:17+00:00 heroku[slug-compiler]: Slug compilation started
2014-05-09T17:47:27+00:00 heroku[slug-compiler]: Slug compilation finished
2014-05-09T17:47:28.378988+00:00 heroku[web.1]: State changed from crashed to starting
2014-05-09T17:47:27.663397+00:00 heroku[api]: Deploy 3d09657 by arweiner#alumni.stanford.edu
2014-05-09T17:47:27.663498+00:00 heroku[api]: Release v24 created by arweiner#alumni.stanford.edu
2014-05-09T17:47:34.782209+00:00 app[web.1]: I, [2014-05-09T17:47:34.782056 #2] INFO -- : Refreshing Gem list
2014-05-09T17:47:32.436199+00:00 heroku[web.1]: Starting process with command `bundle exec unicorn -p 49930 -c ./config/unicorn.rb`
2014-05-09T17:47:38.786681+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:232:in `load_dependency'
2014-05-09T17:47:38.786682+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:247:in `require'
2014-05-09T17:47:38.786684+00:00 app[web.1]: from /app/app/controllers/contact_controller.rb:2:in `<class:ContactController>'
2014-05-09T17:47:38.786688+00:00 app[web.1]: from /app/app/controllers/contact_controller.rb:1:in `<top (required)>'
2014-05-09T17:47:38.786690+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:247:in `require'
2014-05-09T17:47:38.786679+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:247:in `block in require'
2014-05-09T17:47:38.786668+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:247:in `require': No such file to load -- User (LoadError)
2014-05-09T17:47:38.786692+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:247:in `block in require'
2014-05-09T17:47:38.786698+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:348:in `require_or_load'
2014-05-09T17:47:38.786695+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:232:in `load_dependency'
2014-05-09T17:47:38.786701+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:307:in `depend_on'
2014-05-09T17:47:38.786706+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/railties-4.1.0/lib/rails/engine.rb:468:in `block (2 levels) in eager_load!'
2014-05-09T17:47:38.786697+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:247:in `require'
2014-05-09T17:47:38.786708+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/railties-4.1.0/lib/rails/engine.rb:467:in `each'
2014-05-09T17:47:38.786711+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/railties-4.1.0/lib/rails/engine.rb:467:in `block in eager_load!'
2014-05-09T17:47:38.786703+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:225:in `require_dependency'
2014-05-09T17:47:38.786720+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/railties-4.1.0/lib/rails/engine.rb:346:in `eager_load!'
2014-05-09T17:47:38.786725+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/railties-4.1.0/lib/rails/application/finisher.rb:58:in `block in <module:Finisher>'
2014-05-09T17:47:38.786715+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/railties-4.1.0/lib/rails/engine.rb:465:in `each'
2014-05-09T17:47:38.786716+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/railties-4.1.0/lib/rails/engine.rb:465:in `eager_load!'
2014-05-09T17:47:38.786722+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/railties-4.1.0/lib/rails/application/finisher.rb:58:in `each'
2014-05-09T17:47:38.786737+00:00 app[web.1]: from /app/vendor/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:226:in `block in tsort_each'
2014-05-09T17:47:38.786730+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/railties-4.1.0/lib/rails/initializable.rb:30:in `run'
2014-05-09T17:47:38.786790+00:00 app[web.1]: from config.ru:4:in `require'
2014-05-09T17:47:38.786792+00:00 app[web.1]: from config.ru:4:in `block in <main>'
2014-05-09T17:47:38.786793+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in `instance_eval'
2014-05-09T17:47:38.786795+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in `initialize'
2014-05-09T17:47:38.786796+00:00 app[web.1]: from config.ru:1:in `new'
2014-05-09T17:47:38.786797+00:00 app[web.1]: from config.ru:1:in `<main>'
2014-05-09T17:47:38.786799+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn.rb:48:in `eval'
2014-05-09T17:47:38.786800+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn.rb:48:in `block in builder'
2014-05-09T17:47:38.786802+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:764:in `call'
2014-05-09T17:47:38.786805+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:764:in `build_app!'
2014-05-09T17:47:38.786806+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:137:in `start'
2014-05-09T17:47:38.786808+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/bin/unicorn:126:in `<top (required)>'
2014-05-09T17:47:38.786809+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/bin/unicorn:23:in `load'
2014-05-09T17:47:38.786811+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/bin/unicorn:23:in `<main>'
2014-05-09T17:47:38.786738+00:00 app[web.1]: from /app/vendor/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
2014-05-09T17:47:38.786733+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/railties-4.1.0/lib/rails/initializable.rb:55:in `block in run_initializers'
2014-05-09T17:47:38.786741+00:00 app[web.1]: from /app/vendor/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:427:in `each_strongly_connected_component_from'
2014-05-09T17:47:38.786758+00:00 app[web.1]: from /app/vendor/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:205:in `tsort_each'
2014-05-09T17:47:38.786783+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/railties-4.1.0/lib/rails/initializable.rb:54:in `run_initializers'
2014-05-09T17:47:38.786745+00:00 app[web.1]: from /app/vendor/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:347:in `block in each_strongly_connected_component'
2014-05-09T17:47:38.786746+00:00 app[web.1]: from /app/vendor/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:345:in `each'
2014-05-09T17:47:38.786749+00:00 app[web.1]: from /app/vendor/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:345:in `call'
2014-05-09T17:47:38.786751+00:00 app[web.1]: from /app/vendor/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:345:in `each_strongly_connected_component'
2014-05-09T17:47:38.786754+00:00 app[web.1]: from /app/vendor/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:224:in `tsort_each'
2014-05-09T17:47:38.786789+00:00 app[web.1]: from /app/config/environment.rb:5:in `<top (required)>'
2014-05-09T17:47:38.786787+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/railties-4.1.0/lib/rails/application.rb:288:in `initialize!'
2014-05-09T17:47:38.786728+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/railties-4.1.0/lib/rails/initializable.rb:30:in `instance_exec'
2014-05-09T17:47:40.340920+00:00 heroku[web.1]: State changed from starting to crashed
2014-05-09T17:47:41.711243+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=gym-buddy.herokuapp.com request_id=ca9aae56-ee44-4725-89d0-f4d108922e1a fwd="50.161.122.172" dyno= connect= service= status=503 bytes=
2014-05-09T17:47:41.947708+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=gym-buddy.herokuapp.com request_id=7aff3d6f-2687-4aa2-affd-590a3cea1b57 fwd="50.161.122.172" dyno= connect= service= status=503 bytes=
2014-05-09T17:47:40.329886+00:00 heroku[web.1]: Process exited with status 1
This looks like dev/prod parity thing.
How do you run your code locally? Do you run it via bundle exec? My suspicion is you have local problems (perhaps dependency problems) that you're not seeing because your local app is actually broken but not being run properly locally (but of course, this is a guess on my part).
hi i have an instance of locomotivecms loaded locally which is all working perfectly, though when i push the files to heroku i am getting the below errors, and i cant seem to pin point what is causing the app to restart
2013-06-18T11:54:58.503474+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/mongo-1.5.2/lib/mongo/connection.rb:413:in `connect': Failed to connect to a master node at localhost:27017 (Mongo::ConnectionFailure)
2013-06-18T11:54:58.504255+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/mongo-1.5.2/lib/mongo/connection.rb:155:in `from_uri'
2013-06-18T11:54:58.503654+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/mongo-1.5.2/lib/mongo/connection.rb:574:in `setup'
2013-06-18T11:54:58.503767+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/mongo-1.5.2/lib/mongo/connection.rb:104:in `initialize'
2013-06-18T11:54:58.504871+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/mongoid-2.4.12/lib/mongoid/config/database.rb:19:in `configure'
2013-06-18T11:54:58.505684+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/mongoid-2.4.12/lib/mongoid/contexts/mongo.rb:176:in `execute'
2013-06-18T11:54:58.505684+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/mongoid-2.4.12/lib/mongoid/criteria.rb:145:in `tap'
2013-06-18T11:54:58.506692+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/builder.rb:51:in `initialize'
2013-06-18T11:54:58.504033+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/mongo-1.5.2/lib/mongo/connection.rb:155:in `new'
2013-06-18T11:54:58.505538+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/mongoid-2.4.12/lib/mongoid.rb:146:in `master'
2013-06-18T11:54:58.505684+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/mongoid-2.4.12/lib/mongoid/contexts/mongo.rb:262:in `block in iterate'
2013-06-18T11:54:58.505260+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/mongoid-2.4.12/lib/mongoid/config.rb:290:in `configure_databases'
2013-06-18T11:54:58.508069+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.5.1/lib/thin/runner.rb:152:in `run!'
2013-06-18T11:54:58.505371+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/mongoid-2.4.12/lib/mongoid/config.rb:223:in `master'
2013-06-18T11:54:58.505941+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/locomotive_cms-2.0.2/lib/locomotive.rb:66:in `after_configure'
2013-06-18T11:54:58.507734+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.5.1/lib/rack/adapter/loader.rb:33:in `load'
2013-06-18T11:54:58.505684+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/mongoid-2.4.12/lib/mongoid/collection.rb:126:in `master'
2013-06-18T11:54:58.504548+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/mongoid-2.4.12/lib/mongoid/config/database.rb:86:in `master'
2013-06-18T11:54:58.505684+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/mongoid-2.4.12/lib/mongoid/contexts/mongo.rb:480:in `selecting'
2013-06-18T11:54:58.505684+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/mongoid-2.4.12/lib/mongoid/collection.rb:42:in `find'
2013-06-18T11:54:58.505684+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/mongoid-2.4.12/lib/mongoid/criteria.rb:145:in `each'
2013-06-18T11:54:58.505684+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/mongoid-2.4.12/lib/mongoid/contexts/mongo.rb:259:in `iterate'
2013-06-18T11:54:58.505684+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/locomotive_cms-2.0.2/lib/locomotive.rb:66:in `collect'
2013-06-18T11:54:58.505684+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/mongoid-2.4.12/lib/mongoid/criteria.rb:145:in `block in each'
2013-06-18T11:54:58.505941+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/locomotive_cms-2.0.2/lib/locomotive.rb:42:in `configure'
2013-06-18T11:54:58.508069+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.5.1/lib/thin/controllers/controller.rb:71:in `start'
2013-06-18T11:54:58.505941+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:236:in `load_dependency'
2013-06-18T11:54:58.506459+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.13/lib/rails/engine.rb:587:in `each'
2013-06-18T11:54:58.505941+00:00 app[web.1]: from /app/config/initializers/locomotive.rb:1:in `<top (required)>'
2013-06-18T11:54:58.506692+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.5.1/lib/rack/adapter/loader.rb:33:in `eval'
2013-06-18T11:54:58.506459+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.13/lib/rails/initializable.rb:54:in `run_initializers'
2013-06-18T11:54:58.506459+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.13/lib/rails/engine.rb:588:in `block (2 levels) in <class:Engine>'
2013-06-18T11:54:58.507900+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.5.1/lib/thin/controllers/controller.rb:181:in `load_rackup_config'
2013-06-18T11:54:58.508069+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/bin/thin:23:in `load'
2013-06-18T11:54:58.506459+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.13/lib/rails/initializable.rb:30:in `run'
2013-06-18T11:54:58.505941+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:245:in `load'
2013-06-18T11:54:58.506459+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.13/lib/rails/engine.rb:587:in `block in <class:Engine>'
2013-06-18T11:54:58.506459+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.13/lib/rails/application.rb:136:in `initialize!'
2013-06-18T11:54:58.505941+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:245:in `block in load'
2013-06-18T11:54:58.506459+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.13/lib/rails/initializable.rb:30:in `instance_exec'
2013-06-18T11:54:58.506692+00:00 app[web.1]: from /app/config/environment.rb:5:in `<top (required)>'
2013-06-18T11:54:58.505941+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:245:in `load'
2013-06-18T11:54:58.506459+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.13/lib/rails/initializable.rb:54:in `each'
2013-06-18T11:54:58.506692+00:00 app[web.1]: from config.ru:3:in `block in <main>'
2013-06-18T11:54:58.506459+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.13/lib/rails/initializable.rb:55:in `block in run_initializers'
2013-06-18T11:54:58.506459+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.13/lib/rails/railtie/configurable.rb:30:in `method_missing'
2013-06-18T11:54:58.506692+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/builder.rb:51:in `instance_eval'
2013-06-18T11:54:58.506692+00:00 app[web.1]: from config.ru:3:in `require'
2013-06-18T11:54:58.506692+00:00 app[web.1]: from config.ru:1:in `new'
2013-06-18T11:54:58.508069+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.5.1/bin/thin:6:in `<top (required)>'
2013-06-18T11:54:58.508185+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/bin/thin:23:in `<main>'
2013-06-18T11:54:58.506692+00:00 app[web.1]: from config.ru:1:in `<main>'
2013-06-18T11:54:58.508069+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.5.1/lib/thin/runner.rb:187:in `run_command'
2013-06-18T11:55:00.526901+00:00 heroku[web.1]: State changed from starting to crashed
2013-06-18T11:55:00.505749+00:00 heroku[web.1]: Process exited with status 1
2013-06-18T11:55:19.174354+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=nameless-eyrie-8067.herokuapp.com fwd="58.6.242.61" dyno= connect= service= status=503 bytes=
2013-06-18T11:55:20.392737+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=nameless-eyrie-8067.herokuapp.com fwd="58.6.242.61" dyno= connect= service= status=503 bytes=
From the looks of it your problem is to do with your connection to your mongodb. I think this maybe as simple as just ensuring that you have started the MongoDB service. Take a look at the following link it MongoDB Installation. Dependent on which OS you are on will depend on which commands you need to execute. But I thoroughly believe you should take a look and ensure you have installed it correctly and the service is running, as this is the root of your problem.
Further to this also found out that you have to install the MongoHQ add-on in Heroku. This creates a MONGOHQ_URL ENV variable which supposedly is what your application uses to connect to the database.
MongoHQ - Heroku Add on
Command to add MongoHQ - heroku addons:add mongohq
Also you may want to look at the following MongoDB - Ruby to ensure your database.yml is setup correctly. You will see under the section highlighted Mongoid 2.x. Dependent on what version you are using will deter the setup you follow as you will notice as you scroll further down there is a section for Mongoid 3.x. Hope this helps.