Heroku application error, can't understand the log file - heroku-postgres

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.

Related

Heroku H10 error coed with Error 503, can someone give me some insight?

Cant deploy web app to heroku, the error codes are H10 and Error 503. What am I doing wrong and how do I fix it?
Ive look up abit on this, I dont use a database. Thought deleting the db folder would do something. Did heroku run bundle exec rake db:migrate and heroku restart after and it didnt seem to do anything.
2019-04-15T21:34:25.020968+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb:71:in `block in execute_hook'
2019-04-15T21:34:25.020971+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb:62:in `with_execution_control'
2019-04-15T21:34:25.020987+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb:67:in `execute_hook'
2019-04-15T21:34:25.020989+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb:52:in `block in run_load_hooks'
2019-04-15T21:34:25.020992+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb:51:in `each'
2019-04-15T21:34:25.020993+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb:51:in `run_load_hooks'
2019-04-15T21:34:25.020995+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activestorage-5.2.3/app/models/active_storage/blob.rb:235:in `<class:Blob>'
2019-04-15T21:34:25.020996+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activestorage-5.2.3/app/models/active_storage/blob.rb:16:in `<main>'
2019-04-15T21:34:25.020998+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
2019-04-15T21:34:25.021001+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
2019-04-15T21:34:25.021003+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.3/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
2019-04-15T21:34:25.021019+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
2019-04-15T21:34:25.021021+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
2019-04-15T21:34:25.021027+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `block in require'
2019-04-15T21:34:25.021030+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:257:in `load_dependency'
2019-04-15T21:34:25.021031+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `require'
2019-04-15T21:34:25.021032+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:378:in `block in require_or_load'
2019-04-15T21:34:25.021033+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:37:in `block in load_interlock'
2019-04-15T21:34:25.021036+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies/interlock.rb:14:in `block in loading'
2019-04-15T21:34:25.021037+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/concurrency/share_lock.rb:151:in `exclusive'
2019-04-15T21:34:25.021038+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies/interlock.rb:13:in `loading'
2019-04-15T21:34:25.021040+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:37:in `load_interlock'
2019-04-15T21:34:25.021042+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:356:in `require_or_load'
2019-04-15T21:34:25.021045+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.3/lib/bootsnap/load_path_cache/core_ext/active_support.rb:48:in `block in require_or_load'
2019-04-15T21:34:25.021049+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.3/lib/bootsnap/load_path_cache/core_ext/active_support.rb:16:in `allow_bootsnap_retry'
2019-04-15T21:34:25.021051+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.3/lib/bootsnap/load_path_cache/core_ext/active_support.rb:47:in `require_or_load'
2019-04-15T21:34:25.021054+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:334:in `depend_on'
2019-04-15T21:34:25.021056+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.3/lib/bootsnap/load_path_cache/core_ext/active_support.rb:85:in `depend_on'
2019-04-15T21:34:25.021058+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:246:in `require_dependency'
2019-04-15T21:34:25.021060+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/engine.rb:478:in `block (2 levels) in eager_load!'
2019-04-15T21:34:25.021062+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/engine.rb:477:in `each'
2019-04-15T21:34:25.021065+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/engine.rb:477:in `block in eager_load!'
2019-04-15T21:34:25.021084+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/engine.rb:475:in `each'
2019-04-15T21:34:25.021085+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/engine.rb:475:in `eager_load!'
2019-04-15T21:34:25.021086+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/engine.rb:356:in `eager_load!'
2019-04-15T21:34:25.021089+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/application/finisher.rb:69:in `each'
2019-04-15T21:34:25.021091+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/application/finisher.rb:69:in `block in <module:Finisher>'
2019-04-15T21:34:25.021109+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/initializable.rb:32:in `instance_exec'
2019-04-15T21:34:25.021111+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/initializable.rb:32:in `run'
2019-04-15T21:34:25.021113+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/initializable.rb:61:in `block in run_initializers'
2019-04-15T21:34:25.021116+00:00 app[web.1]: from /app/vendor/ruby-2.6.2/lib/ruby/2.6.0/tsort.rb:228:in `block in tsort_each'
2019-04-15T21:34:25.021133+00:00 app[web.1]: from /app/vendor/ruby-2.6.2/lib/ruby/2.6.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
2019-04-15T21:34:25.021135+00:00 app[web.1]: from /app/vendor/ruby-2.6.2/lib/ruby/2.6.0/tsort.rb:431:in `each_strongly_connected_component_from'
2019-04-15T21:34:25.021137+00:00 app[web.1]: from /app/vendor/ruby-2.6.2/lib/ruby/2.6.0/tsort.rb:349:in `block in each_strongly_connected_component'
2019-04-15T21:34:25.021138+00:00 app[web.1]: from /app/vendor/ruby-2.6.2/lib/ruby/2.6.0/tsort.rb:347:in `each'
2019-04-15T21:34:25.021141+00:00 app[web.1]: from /app/vendor/ruby-2.6.2/lib/ruby/2.6.0/tsort.rb:347:in `call'
2019-04-15T21:34:25.021142+00:00 app[web.1]: from /app/vendor/ruby-2.6.2/lib/ruby/2.6.0/tsort.rb:347:in `each_strongly_connected_component'
2019-04-15T21:34:25.021144+00:00 app[web.1]: from /app/vendor/ruby-2.6.2/lib/ruby/2.6.0/tsort.rb:226:in `tsort_each'
2019-04-15T21:34:25.021149+00:00 app[web.1]: from /app/vendor/ruby-2.6.2/lib/ruby/2.6.0/tsort.rb:205:in `tsort_each'
2019-04-15T21:34:25.021150+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/initializable.rb:60:in `run_initializers'
2019-04-15T21:34:25.021152+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/application.rb:361:in `initialize!'
2019-04-15T21:34:25.021155+00:00 app[web.1]: from /app/config/environment.rb:5:in `<main>'
2019-04-15T21:34:25.021157+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
2019-04-15T21:34:25.021159+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
2019-04-15T21:34:25.021161+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.3/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
2019-04-15T21:34:25.021163+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
2019-04-15T21:34:25.021181+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
2019-04-15T21:34:25.021182+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `block in require'
2019-04-15T21:34:25.021183+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:257:in `load_dependency'
2019-04-15T21:34:25.021186+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `require'
2019-04-15T21:34:25.021187+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:48:in `require_relative'
2019-04-15T21:34:25.021189+00:00 app[web.1]: from config.ru:3:in `block in <main>'
2019-04-15T21:34:25.021191+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/builder.rb:55:in `instance_eval'
2019-04-15T21:34:25.021193+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/builder.rb:55:in `initialize'
2019-04-15T21:34:25.021195+00:00 app[web.1]: from config.ru:in `new'
2019-04-15T21:34:25.021197+00:00 app[web.1]: from config.ru:in `<main>'
2019-04-15T21:34:25.021200+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/builder.rb:49:in `eval'
2019-04-15T21:34:25.021202+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/builder.rb:49:in `new_from_string'
2019-04-15T21:34:25.021204+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/builder.rb:40:in `parse_file'
2019-04-15T21:34:25.021206+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/server.rb:319:in `build_app_and_options_from_config'
2019-04-15T21:34:25.021208+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/server.rb:219:in `app'
2019-04-15T21:34:25.021211+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/commands/server/server_command.rb:27:in `app'
2019-04-15T21:34:25.021228+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/server.rb:354:in `wrapped_app'
2019-04-15T21:34:25.021229+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/server.rb:283:in `start'
2019-04-15T21:34:25.021230+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/commands/server/server_command.rb:53:in `start'
2019-04-15T21:34:25.021233+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/commands/server/server_command.rb:147:in `block in perform'
2019-04-15T21:34:25.021234+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/commands/server/server_command.rb:142:in `tap'
2019-04-15T21:34:25.021236+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/commands/server/server_command.rb:142:in `perform'
2019-04-15T21:34:25.021237+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'
2019-04-15T21:34:25.021239+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'
2019-04-15T21:34:25.021242+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'
2019-04-15T21:34:25.021244+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/command/base.rb:65:in `perform'
2019-04-15T21:34:25.021246+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/command.rb:46:in `invoke'
2019-04-15T21:34:25.021262+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/commands.rb:18:in `<main>'
2019-04-15T21:34:25.021264+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
2019-04-15T21:34:25.021265+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
2019-04-15T21:34:25.021268+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.3/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
2019-04-15T21:34:25.021269+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
2019-04-15T21:34:25.021287+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
2019-04-15T21:34:25.021289+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `block in require'
2019-04-15T21:34:25.021291+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:257:in `load_dependency'
2019-04-15T21:34:25.021294+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `require'
2019-04-15T21:34:25.021312+00:00 app[web.1]: from bin/rails:9:in `<main>'
2019-04-15T21:34:25.023397+00:00 app[web.1]: => Run `rails server -h` for more startup options
2019-04-15T21:34:25.023398+00:00 app[web.1]: Exiting
2019-04-15T21:35:45.696351+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/beta/wp-admin/" host=www.bradgrad.graphics request_id=962814b5-d073-4d2b-9916-db9882513153 fwd="39.104.203.172" dyno= connect= service= status=503 bytes= protocol=http
2019-04-15T21:39:14.473791+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=www.bradgrad.graphics request_id=da637bcd-a0fb-453d-9b15-ce16544a55ea fwd="174.62.232.203" dyno= connect= service= status=503 bytes= protocol=http
2019-04-15T21:52:25.375916+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=www.bradgrad.graphics request_id=31deb905-fb29-4804-974f-bb5a7fa7501c fwd="174.62.232.203" dyno= connect= service= status=503 bytes= protocol=http
Looking to deploy the website I have it works locally, I know its not good practice to use ruby on rails without databases, but I figured a bare bones app is better to start out with and uploading a more complex on later is good.

Heroku error: The scope body needs to be callable (Rails)

I get this error when I deploy to Heroku. The app is deployed but I have an Application Error message when I open the app on my browser.
I don't really understand why I got this error. Looked up my scopes and everything's fine. There's no syntax or anything...
Heroku logs:
2017-12-21T16:20:44.520142+00:00 app[web.1]: Exiting
2017-12-21T16:20:45.022771+00:00 app[web.1]: /app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.6/lib/active_record/scoping/named.rb:143:in `scope': The scope body needs to be callable. (ArgumentError)
2017-12-21T16:20:45.022814+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/rich-1.4.6/app/models/rich/rich_file.rb:10:in `<class:RichFile>'
2017-12-21T16:20:45.022827+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/rich-1.4.6/app/models/rich/rich_file.rb:6:in `<module:Rich>'
2017-12-21T16:20:45.022840+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/rich-1.4.6/app/models/rich/rich_file.rb:5:in `<top (required)>'
2017-12-21T16:20:45.022853+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `require'
2017-12-21T16:20:45.022890+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `block in require'
2017-12-21T16:20:45.022905+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:240:in `load_dependency'
2017-12-21T16:20:45.022917+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `require'
2017-12-21T16:20:45.022930+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:360:in `require_or_load'
2017-12-21T16:20:45.022942+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:317:in `depend_on'
2017-12-21T16:20:45.022955+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:233:in `require_dependency'
2017-12-21T16:20:45.022967+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/engine.rb:472:in `block (2 levels) in eager_load!'
2017-12-21T16:20:45.022979+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/engine.rb:471:in `each'
2017-12-21T16:20:45.022992+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/engine.rb:471:in `block in eager_load!'
2017-12-21T16:20:45.023004+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/engine.rb:469:in `each'
2017-12-21T16:20:45.023016+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/engine.rb:469:in `eager_load!'
2017-12-21T16:20:45.023043+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/engine.rb:346:in `eager_load!'
2017-12-21T16:20:45.023109+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/application/finisher.rb:56:in `each'
2017-12-21T16:20:45.023123+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/application/finisher.rb:56:in `block in <module:Finisher>'
2017-12-21T16:20:45.023136+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/initializable.rb:30:in `instance_exec'
2017-12-21T16:20:45.023148+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/initializable.rb:30:in `run'
2017-12-21T16:20:45.023160+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/initializable.rb:55:in `block in run_initializers'
2017-12-21T16:20:45.023172+00:00 app[web.1]: from /app/vendor/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:228:in `block in tsort_each'
2017-12-21T16:20:45.023185+00:00 app[web.1]: from /app/vendor/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
2017-12-21T16:20:45.023209+00:00 app[web.1]: from /app/vendor/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:431:in `each_strongly_connected_component_from'
2017-12-21T16:20:45.023237+00:00 app[web.1]: from /app/vendor/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:349:in `block in each_strongly_connected_component'
2017-12-21T16:20:45.023254+00:00 app[web.1]: from /app/vendor/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:347:in `each'
2017-12-21T16:20:45.023269+00:00 app[web.1]: from /app/vendor/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:347:in `call'
2017-12-21T16:20:45.023285+00:00 app[web.1]: from /app/vendor/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:347:in `each_strongly_connected_component'
2017-12-21T16:20:45.023300+00:00 app[web.1]: from /app/vendor/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:226:in `tsort_each'
2017-12-21T16:20:45.023316+00:00 app[web.1]: from /app/vendor/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:205:in `tsort_each'
2017-12-21T16:20:45.023331+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/initializable.rb:54:in `run_initializers'
2017-12-21T16:20:45.023345+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/application.rb:352:in `initialize!'
2017-12-21T16:20:45.023359+00:00 app[web.1]: from /app/config/environment.rb:5:in `<top (required)>'
2017-12-21T16:20:45.023382+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `require'
2017-12-21T16:20:45.023404+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `block in require'
2017-12-21T16:20:45.023418+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:240:in `load_dependency'
2017-12-21T16:20:45.023506+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `require'
2017-12-21T16:20:45.023754+00:00 app[web.1]: from /app/config.ru:3:in `block in <main>'
2017-12-21T16:20:45.023771+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/rack-1.6.8/lib/rack/builder.rb:55:in `instance_eval'
2017-12-21T16:20:45.023789+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/rack-1.6.8/lib/rack/builder.rb:55:in `initialize'
2017-12-21T16:20:45.023807+00:00 app[web.1]: from /app/config.ru:in `new'
2017-12-21T16:20:45.023823+00:00 app[web.1]: from /app/config.ru:in `<main>'
2017-12-21T16:20:45.023839+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/rack-1.6.8/lib/rack/builder.rb:49:in `eval'
2017-12-21T16:20:45.023853+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/rack-1.6.8/lib/rack/builder.rb:49:in `new_from_string'
2017-12-21T16:20:45.023868+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/rack-1.6.8/lib/rack/builder.rb:40:in `parse_file'
2017-12-21T16:20:45.023913+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/rack-1.6.8/lib/rack/server.rb:300:in `build_app_and_options_from_config'
2017-12-21T16:20:45.023931+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/rack-1.6.8/lib/rack/server.rb:209:in `app'
2017-12-21T16:20:45.023948+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/commands/server.rb:61:in `app'
2017-12-21T16:20:45.023968+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/rack-1.6.8/lib/rack/server.rb:337:in `wrapped_app'
2017-12-21T16:20:45.023985+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/rack-1.6.8/lib/rack/server.rb:273:in `start'
2017-12-21T16:20:45.024002+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/commands/server.rb:80:in `start'
2017-12-21T16:20:45.024171+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:80:in `block in server'
2017-12-21T16:20:45.024188+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:75:in `tap'
2017-12-21T16:20:45.024204+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:75:in `server'
2017-12-21T16:20:45.024338+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/commands.rb:17:in `<top (required)>'
2017-12-21T16:20:45.024321+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
2017-12-21T16:20:45.024354+00:00 app[web.1]: from bin/rails:9:in `require'
2017-12-21T16:20:45.024369+00:00 app[web.1]: from bin/rails:9:in `<main>'
2017-12-21T16:20:45.233312+00:00 heroku[web.1]: State changed from starting to crashed
2017-12-21T16:20:45.218712+00:00 heroku[web.1]: Process exited with status 1
2017-12-21T16:20:51.964132+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=afternoon-beyond-98583.herokuapp.com request_id=fe3ee2ae-c79f-4636-b07b-81484e12300e fwd="37.172.154.21" dyno= connect= service= status=503 bytes= protocol=https
2017-12-21T16:20:46.783888+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=afternoon-beyond-98583.herokuapp.com request_id=ea904370-1b61-4cb5-854a-056b0b46cf37 fwd="37.172.154.21" dyno= connect= service= status=503 bytes= protocol=https
Scopes model:
scope :normal, lambda { where(produit_type: 'normal') }
scope :abonnements, lambda { where(produit_type: 'abonnement') }
scope :box, lambda { where(produit_type: 'box') }

Rails 4 - Heroku - production errors

I'm new to coding and learning on the go. I find it difficult to decipher what the heroku logs are telling me. I just tried to push the master branch to heroku and got an error directing me to the logs. The logs say the following. I can barely understand the english let alone make out what it might mean.
Can anyone see the problem I need to focus on to fix this?
heroku logs
2016-03-25T08:20:21.086021+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.4/lib/active_record/relation.rb:515:in `load'
2016-03-25T08:20:21.086023+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.4/lib/active_record/relation/delegation.rb:46:in `each'
2016-03-25T08:20:21.086025+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rolify-5.0.0/lib/rolify/dynamic.rb:13:in `load_dynamic_methods'
2016-03-25T08:20:21.086022+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.4/lib/active_record/relation.rb:243:in `to_a'
2016-03-25T08:20:21.086028+00:00 app[web.1]: from /app/app/models/user.rb:2:in `<class:User>'
2016-03-25T08:20:21.086026+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rolify-5.0.0/lib/rolify.rb:33:in `rolify'
2016-03-25T08:20:21.086030+00:00 app[web.1]: from /app/app/models/user.rb:1:in `<top (required)>'
2016-03-25T08:20:21.086042+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `require'
2016-03-25T08:20:21.086043+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `block in require'
2016-03-25T08:20:21.086044+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:240:in `load_dependency'
2016-03-25T08:20:21.086046+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `require'
2016-03-25T08:20:21.086048+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:360:in `require_or_load'
2016-03-25T08:20:21.086061+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:184:in `const_missing'
2016-03-25T08:20:21.086049+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:494:in `load_missing_constant'
2016-03-25T08:20:21.086062+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/inflector/methods.rb:261:in `const_get'
2016-03-25T08:20:21.086063+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/inflector/methods.rb:261:in `block in constantize'
2016-03-25T08:20:21.086065+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/inflector/methods.rb:259:in `each'
2016-03-25T08:20:21.086067+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/inflector/methods.rb:259:in `inject'
2016-03-25T08:20:21.086069+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/inflector/methods.rb:259:in `constantize'
2016-03-25T08:20:21.086080+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:566:in `get'
2016-03-25T08:20:21.086081+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:597:in `constantize'
2016-03-25T08:20:21.086082+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/devise-3.4.1/lib/devise.rb:302:in `get'
2016-03-25T08:20:21.086084+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/devise-3.4.1/lib/devise/mapping.rb:80:in `to'
2016-03-25T08:20:21.086085+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/devise-3.4.1/lib/devise/mapping.rb:75:in `modules'
2016-03-25T08:20:21.086087+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/devise-3.4.1/lib/devise/mapping.rb:92:in `routes'
2016-03-25T08:20:21.086089+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/devise-3.4.1/lib/devise/mapping.rb:159:in `default_used_route'
2016-03-25T08:20:21.086101+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/devise-3.4.1/lib/devise/mapping.rb:69:in `initialize'
2016-03-25T08:20:21.086102+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/devise-3.4.1/lib/devise.rb:336:in `new'
2016-03-25T08:20:21.086103+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/devise-3.4.1/lib/devise.rb:336:in `add_mapping'
2016-03-25T08:20:21.086104+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/devise-3.4.1/lib/devise/rails/routes.rb:224:in `block in devise_for'
2016-03-25T08:20:21.086105+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/devise-3.4.1/lib/devise/rails/routes.rb:223:in `each'
2016-03-25T08:20:21.086107+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/devise-3.4.1/lib/devise/rails/routes.rb:223:in `devise_for'
2016-03-25T08:20:21.086109+00:00 app[web.1]: from /app/config/routes.rb:17:in `block in <top (required)>'
2016-03-25T08:20:21.086126+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:268:in `load'
2016-03-25T08:20:21.086127+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:268:in `block in load'
2016-03-25T08:20:21.086111+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:434:in `instance_exec'
2016-03-25T08:20:21.086123+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:434:in `eval_block'
2016-03-25T08:20:21.086124+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:412:in `draw'
2016-03-25T08:20:21.086125+00:00 app[web.1]: from /app/config/routes.rb:1:in `<top (required)>'
2016-03-25T08:20:21.086132+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:268:in `load'
2016-03-25T08:20:21.086130+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:240:in `load_dependency'
2016-03-25T08:20:21.086143+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/application/routes_reloader.rb:40:in `block in load_paths'
2016-03-25T08:20:21.086144+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/application/routes_reloader.rb:40:in `each'
2016-03-25T08:20:21.086145+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/application/routes_reloader.rb:40:in `load_paths'
2016-03-25T08:20:21.086148+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/application.rb:170:in `reload_routes!'
2016-03-25T08:20:21.086152+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/lazy_load_hooks.rb:36:in `call'
2016-03-25T08:20:21.086167+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/lazy_load_hooks.rb:45:in `block in run_load_hooks'
2016-03-25T08:20:21.086147+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/application/routes_reloader.rb:16:in `reload!'
2016-03-25T08:20:21.086168+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/lazy_load_hooks.rb:44:in `each'
2016-03-25T08:20:21.086150+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/devise-3.4.1/lib/devise/rails.rb:14:in `block in <class:Engine>'
2016-03-25T08:20:21.086169+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/lazy_load_hooks.rb:44:in `run_load_hooks'
2016-03-25T08:20:21.086154+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook'
2016-03-25T08:20:21.086173+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/initializable.rb:30:in `instance_exec'
2016-03-25T08:20:21.086175+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/initializable.rb:30:in `run'
2016-03-25T08:20:21.086177+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/initializable.rb:55:in `block in run_initializers'
2016-03-25T08:20:21.086172+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/application/finisher.rb:55:in `block in <module:Finisher>'
2016-03-25T08:20:21.086194+00:00 app[web.1]: from /app/vendor/ruby-2.2.2/lib/ruby/2.2.0/tsort.rb:429:in `each_strongly_connected_component_from'
2016-03-25T08:20:21.086205+00:00 app[web.1]: from /app/vendor/ruby-2.2.2/lib/ruby/2.2.0/tsort.rb:347:in `block in each_strongly_connected_component'
2016-03-25T08:20:21.086210+00:00 app[web.1]: from /app/vendor/ruby-2.2.2/lib/ruby/2.2.0/tsort.rb:345:in `each'
2016-03-25T08:20:21.086179+00:00 app[web.1]: from /app/vendor/ruby-2.2.2/lib/ruby/2.2.0/tsort.rb:226:in `block in tsort_each'
2016-03-25T08:20:21.086181+00:00 app[web.1]: from /app/vendor/ruby-2.2.2/lib/ruby/2.2.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
2016-03-25T08:20:21.086213+00:00 app[web.1]: from /app/vendor/ruby-2.2.2/lib/ruby/2.2.0/tsort.rb:345:in `call'
2016-03-25T08:20:21.086213+00:00 app[web.1]: from /app/vendor/ruby-2.2.2/lib/ruby/2.2.0/tsort.rb:345:in `each_strongly_connected_component'
2016-03-25T08:20:21.086216+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/application.rb:352:in `initialize!'
2016-03-25T08:20:21.086215+00:00 app[web.1]: from /app/vendor/ruby-2.2.2/lib/ruby/2.2.0/tsort.rb:203:in `tsort_each'
2016-03-25T08:20:21.086215+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/initializable.rb:54:in `run_initializers'
2016-03-25T08:20:21.086214+00:00 app[web.1]: from /app/vendor/ruby-2.2.2/lib/ruby/2.2.0/tsort.rb:224:in `tsort_each'
2016-03-25T08:20:21.086217+00:00 app[web.1]: from /app/config/environment.rb:5:in `<top (required)>'
2016-03-25T08:20:21.086217+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `require'
2016-03-25T08:20:21.086219+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `block in require'
2016-03-25T08:20:21.086220+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:240:in `load_dependency'
2016-03-25T08:20:21.086222+00:00 app[web.1]: from /app/config.ru:3:in `block in <main>'
2016-03-25T08:20:21.086221+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `require'
2016-03-25T08:20:21.086240+00:00 app[web.1]: from /app/config.ru:in `new'
2016-03-25T08:20:21.086224+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:55:in `instance_eval'
2016-03-25T08:20:21.086227+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:55:in `initialize'
2016-03-25T08:20:21.086241+00:00 app[web.1]: from /app/config.ru:in `<main>'
2016-03-25T08:20:21.086245+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/server.rb:299:in `build_app_and_options_from_config'
2016-03-25T08:20:21.086242+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:49:in `new_from_string'
2016-03-25T08:20:21.086241+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:49:in `eval'
2016-03-25T08:20:21.086244+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:40:in `parse_file'
2016-03-25T08:20:21.086248+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/commands/server.rb:61:in `app'
2016-03-25T08:20:21.086251+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/server.rb:336:in `wrapped_app'
2016-03-25T08:20:21.086247+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/server.rb:208:in `app'
2016-03-25T08:20:21.086270+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
2016-03-25T08:20:21.086263+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/server.rb:272:in `start'
2016-03-25T08:20:21.086266+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/commands/commands_tasks.rb:75:in `tap'
2016-03-25T08:20:21.086264+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/commands/server.rb:80:in `start'
2016-03-25T08:20:21.086264+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/commands/commands_tasks.rb:80:in `block in server'
2016-03-25T08:20:21.086267+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/commands/commands_tasks.rb:75:in `server'
2016-03-25T08:20:21.086270+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/commands.rb:17:in `<top (required)>'
2016-03-25T08:20:21.086284+00:00 app[web.1]: from bin/rails:8:in `<main>'
2016-03-25T08:20:21.086272+00:00 app[web.1]: from bin/rails:8:in `require'
2016-03-25T08:20:22.133222+00:00 heroku[web.1]: State changed from starting to crashed
2016-03-25T08:20:22.119281+00:00 heroku[web.1]: Process exited with status 1
2016-03-25T08:22:00.423386+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=www.cttr.com request_id=3311cef7-19ae-4309-8020-53f88bcb630f fwd="49.191.132.150" dyno= connect= service= status=503 bytes=
2016-03-25T08:22:01.417500+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=www.cttr.com request_id=cd78c604-f5e3-48d5-9bd7-f974b7f61da4 fwd="49.191.132.150" dyno= connect= service= status=503 bytes=
2016-03-25T08:25:54.618347+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=www.cttr.com request_id=4fb1a6ed-3ef6-48f7-b1a5-fde8200b2529 fwd="49.191.132.150" dyno= connect= service= status=503 bytes=
2016-03-25T08:25:55.206739+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=www.cttr.com request_id=dc0d2a42-9937-4a4a-9815-d3c520951ef8 fwd="49.191.132.150" dyno= connect= service= status=503 bytes=
2016-03-25T08:31:51.288633+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=www.cttr.com request_id=b3b64814-3915-47f3-9032-30d8cdf4c0ec fwd="49.191.132.150" dyno= connect= service= status=503 bytes=
2016-03-25T08:31:51.957639+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=www.cttr.com request_id=c85281e9-1c34-474f-a153-ebe5085c11f6 fwd="49.191.132.150" dyno= connect= service= status=503 bytes=
Add --tail option to your command:
heroku logs --tail
It will give you full real-time logs, not only a bit. May be real reason will be shown in real-time logs. Just run logs with tail and try to open crashing page and find bug in logs that received just now.
Some lines in your log contains paths to your project file, I marked them bold:
heroku logs
2016-03-25T08:20:21.086021+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.4/lib/active_record/relation.rb:515:in `load'
2016-03-25T08:20:21.086023+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.4/lib/active_record/relation/delegation.rb:46:in `each'
2016-03-25T08:20:21.086025+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rolify-5.0.0/lib/rolify/dynamic.rb:13:in `load_dynamic_methods'
2016-03-25T08:20:21.086022+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.4/lib/active_record/relation.rb:243:in `to_a'
2016-03-25T08:20:21.086028+00:00 app[web.1]: from /app/app/models/user.rb:2:in `'
2016-03-25T08:20:21.086026+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rolify-5.0.0/lib/rolify.rb:33:in `rolify'
2016-03-25T08:20:21.086030+00:00 app[web.1]: from /app/app/models/user.rb:1:in `'
2016-03-25T08:20:21.086042+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `require'
...
Look these files at specified rows, may be bug is somewhere here.

Heroku application error Rails 4 CSV upload [closed]

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 7 years ago.
Improve this question
so I added a CSV upload to my rails application. Its working fine in my local host. I deploy it now to heroku and Im getting the "Application Error message". Here are my heroku logs:
2014-05-26T19:10:44.656816+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/dependencies.rb:229:in `require'
2014-05-26T19:10:44.656779+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/initializable.rb:30:in `instance_exec'
2014-05-26T19:10:44.656785+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-05-26T19:10:44.656800+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:148:in `tsort_each'
2014-05-26T19:10:44.656783+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/initializable.rb:30:in `run'
2014-05-26T19:10:44.656790+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-05-26T19:10:44.656794+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-05-26T19:10:44.656840+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'
2014-05-26T19:10:44.656850+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:40:in `parse_file'
2014-05-26T19:10:44.656795+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:180:in `each'
2014-05-26T19:10:44.656832+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/dependencies.rb:214:in `load_dependency'
2014-05-26T19:10:44.656838+00:00 app[web.1]: from /app/config.ru:3:in `block in <main>'
2014-05-26T19:10:44.656837+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/dependencies.rb:229:in `require'
2014-05-26T19:10:44.656841+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'
2014-05-26T19:10:44.656847+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:49:in `eval'
2014-05-26T19:10:44.656860+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:314:in `wrapped_app'
2014-05-26T19:10:44.656855+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:199:in `app'
2014-05-26T19:10:44.656865+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/commands.rb:76:in `block in <top (required)>'
2014-05-26T19:10:44.656858+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/commands/server.rb:48:in `app'
2014-05-26T19:10:44.656863+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/commands/server.rb:75:in `start'
2014-05-26T19:10:44.656849+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:49:in `new_from_string'
2014-05-26T19:10:44.656853+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:277:in `build_app_and_options_from_config'
2014-05-26T19:10:44.656868+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/commands.rb:71:in `tap'
2014-
05-26T19:10:44.656874+00:00 app[web.1]: from bin/rails:4:in `require'
2014-05-26T19:10:44.656871+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/commands.rb:71:in `<top (required)>'
2014-05-26T19:10:44.656876+00:00 app[web.1]: from bin/rails:4:in `<main>'
2014-05-26T19:10:45.946278+00:00 heroku[web.1]: State changed from starting to crashed
2014-05-26T19:10:45.929575+00:00 heroku[web.1]: Process exited with status 1
2014-05-26T19:10:46.625585+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=blooming-oasis-2511.herokuapp.com request_id=29e6696b-a46e-4c4a-953a-705be6433c04 fwd="174.63.108.142" dyno= connect= service= status=503 bytes=
2014-05-26T19:10:46.819047+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=blooming-oasis-2511.herokuapp.com request_id=feac7669-3457-44cb-97dc-530c966d2035 fwd="174.63.108.142" dyno= connect= service= status=503 bytes=
2014-05-26T19:10:47.613193+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=blooming-oasis-2511.herokuapp.com request_id=70c18b6d-6456-4a80-bc8f-2d1a72dfb963 fwd="174.63.108.142" dyno= connect= service= status=503 bytes=
2014-05-26T19:10:47.773819+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=blooming-oasis-2511.herokuapp.com request_id=0b4f8526-5665-46a9-b5ae-2689ea756bee fwd="174.63.108.142" dyno= connect= service= status=503 bytes=
2014-05-26T19:12:28.143417+00:00 heroku[web.1]: State changed from crashed to starting
2014-05-26T19:12:34.708530+00:00 app[web.1]: => Booting WEBrick
2014-05-26T19:12:34.708553+00:00 app[web.1]: => Run `rails server -h` for more startup options
2014-05-26T19:12:34.708551+00:00 app[web.1]: => Rails 4.0.4 application starting in production on http://0.0.0.0:12264
2014-05-26T19:12:34.708554+00:00 app[web.1]: => Ctrl-C to shutdown server
2014-05-26T19:12:34.709422+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/dependencies.rb:214:in `load_dependency'
2014-05-26T19:12:34.708556+00:00 app[web.1]: Exiting
2014-05-26T19:12:34.709430+00:00 app[web.1]: from /app/app/models/routine.rb:3:in `<class:Routine>'
2014-05-26T19:12:34.709414+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/dependencies.rb:229:in `require': No such file to load -- CSV (LoadError)
2014-05-26T19:12:34.709426+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/dependencies.rb:229:in `require'
2014-05-26T19:12:34.709435+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/dependencies.rb:229:in `require'
2014-05-26T19:12:34.709419+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/dependencies.rb:229:in `block in require'
2014-05-26T19:12:34.709433+00:00 app[web.1]: from /app/app/models/routine.rb:1:in `<top (required)>'
2014-05-26T19:12:34.709447+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/dependencies.rb:330:in `require_or_load'
2014-05-26T19:12:34.709439+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/dependencies.rb:229:in `block in require'
2014-05-26T19:12:34.709442+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/dependencies.rb:214:in `load_dependency'
2014-05-26T19:12:34.709443+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/dependencies.rb:229:in `require'
2014-05-26T19:12:34.709454+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/dependencies.rb:207:in `require_dependency'
2014-05-26T19:12:34.709459+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/engine.rb:464:in `each'
2014-05-26T19:12:34.709450+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/dependencies.rb:289:in `depend_on'
2014-05-26T19:12:34.709455+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/engine.rb:465:in `block (2 levels) in eager_load!'
2014-05-26T19:12:34.709462+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/engine.rb:464:in `block in eager_load!'
2014-05-26T19:12:34.709467+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/engine.rb:462:in `eager_load!'
2014-05-26T19:12:34.709466+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/engine.rb:462:in `each'
2014-05-26T19:12:34.709486+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/r
ailties-4.0.4/lib/rails/engine.rb:347:in `eager_load!'
2014-05-26T19:12:34.709487+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/application/finisher.rb:56:in `each'
2014-05-26T19:12:34.709492+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/initializable.rb:30:in `run'
2014-05-26T19:12:34.709489+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/application/finisher.rb:56:in `block in <module:Finisher>'
2014-05-26T19:12:34.709490+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/initializable.rb:30:in `instance_exec'
2014-05-26T19:12:34.709498+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-05-26T19:12:34.709505+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:180:in `each'
2014-05-26T19:12:34.709493+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/initializable.rb:55:in `block in run_initializers'
2014-05-26T19:12:34.709500+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-05-26T19:12:34.709497+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-05-26T19:12:34.709501+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-05-26T19:12:34.709507+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-05-26T19:12:34.709510+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:148:in `tsort_each'
2014-05-26T19:12:34.709511+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/initializable.rb:54:in `run_initializers'
2014-05-26T19:12:34.709515+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/application.rb:215:in `initialize!'
2014-05-26T19:12:34.709520+00:00 app[web.1]: from /app/config/environment.rb:5:in `<top (required)>'
2014-05-26T19:12:34.709525+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/dependencies.rb:229:in `block in require'
2014-05-26T19:12:34.709539+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/dependencies.rb:214:in `load_dependency'
2014-05-26T19:12:34.709543+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/dependencies.rb:229:in `require'
2014-05-26T19:12:34.709516+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/railtie/configurable.rb:30:in `method_missing'
2014-05-26T19:12:34.709524+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/dependencies.rb:229:in `require'
2014-05-26T19:12:34.709544+00:00 app[web.1]: from /app/config.ru:3:in `block in <main>'
2014-05-26T19:12:34.709546+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'
2014-05-26T19:12:34.709552+00:00 app[web.1]: from /app/config.ru:in `<main>'
2014-05-26T19:12:34.709547+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'
2014-05-26T19:12:34.709549+00:00 app[web.1]: from /app/config.ru:in `new'
2014-05-26T19:12:34.709554+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:49:in `eval'
2014-05-26T19:12:34.709555+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:49:in `new_from_string'
2014-05-26T19:12:34.709557+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:40:in `parse_file'
2014-05-26T19:12:34.709560+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:277:in `build_app_and_options_from_config'
2014-05-26T19:12:34.709561+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:199:in `app'
2014-05-26T19:12:34.709565+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/commands/server.rb:48:in `app'
2014-05-26T19:12:34.709566+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:314:in `wrapped_app'
2014-05-26T19:12:34.709570+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/commands/server.rb:75:in `start'
2014-05-26T19:12:34.709573+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/commands.rb:76:in `block in <top (required)>'
2014-05-26T19:12:34.709574+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/commands.rb:71:in `tap'
2014-05-26T19:12:34.709577+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/commands.rb:71:in `<top (required)>'
2014-05-26T19:12:34.709581+00:00 app[web.1]: from bin/rails:4:in `require'
2014-05-26T19:12:34.709582+00:00 app[web.1]: from bin/rails:4:in `<main>'
2014-05-26T19:12:36.001937+00:00 heroku[web.1]: Process exited with status 1
2014-05-26T19:12:31.343471+00:00 heroku[web.1]: Starting process with command `bin/rails server -p 12264 -e production`
2014-05-26T19:12:36.020407+00:00 heroku[web.1]: State changed from starting to crashed
2014-05-26T19:13:13.698282+00:00 heroku[api]: Scale to web=1 by XXXX.com
2014-05-26T19:13:52.874579+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=blooming-oasis-2511.herokuapp.com request_id=1a74949c-f1a2-4b46-b368-3a8cf727ca96 fwd="174.63.108.142" dyno= connect= service= status=503 bytes=
2014-05-26T19:13:53.254490+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=blooming-oasis-2511.herokuapp.com request_id=136316e5-3f0b-4cb4-89c3-351f2427730a fwd="174.63.108.142" dyno= connect= service= status=503 bytes=
I've searched through all the other Stack posts on this and still cant figure out whats wrong. Again it works fine in my local environment. Here is the git repository
any help would be much appreciated.
Looks like require 'csv' on line 3 of your Routine model is failing.

Heroku Application Error: Page Could Not Be Served

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).

Resources