So, my app works fine locally, but won't load when I push to Heroku (I get the standard Application Error).
Here's what Heroku logs throws... issue seems to be with Pony, but I don't have Pony installed as a gem anymore and the file app/config/initializers/Pony.rb doesn't exist. Any thoughts?
2013-11-02T02:42:35.976091+00:00 app[web.1]: /app/config/initializers/pony.rb:1:
in `<top (required)>': uninitialized constant Pony (NameError)
2013-11-02T02:42:35.976091+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0
.0/gems/railties-4.0.0/lib/rails/engine.rb:608:in `block in <class:Engine>'
2013-11-02T02:42:35.976091+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'
2013-11-02T02:42:35.976091+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_componen
t'
2013-11-02T02:42:35.976091+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/
ruby/2.0.0/tsort.rb:210:in `block (2 levels) in each_strongly_connected_componen
t_from'
2013-11-02T02:42:35.976253+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'
2013-11-02T02:42:35.976091+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0
.0/gems/railties-4.0.0/lib/rails/initializable.rb:55:in `block in run_initialize
rs'
2013-11-02T02:42:35.976253+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0
.0/gems/railties-4.0.0/lib/rails/initializable.rb:44:in `tsort_each_child'
2013-11-02T02:42:35.976253+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/
ruby/2.0.0/tsort.rb:203:in `each_strongly_connected_component_from'
2013-11-02T02:42:35.976400+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0
.0/gems/railties-4.0.0/lib/rails/application.rb:215:in `initialize!'
2013-11-02T02:42:35.976253+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'
2013-11-02T02:42:35.976253+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/
ruby/2.0.0/tsort.rb:180:in `each'
2013-11-02T02:42:35.976253+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'
2013-11-02T02:42:35.976253+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0
.0/gems/railties-4.0.0/lib/rails/initializable.rb:54:in `run_initializers'
2013-11-02T02:42:35.976253+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/
ruby/2.0.0/tsort.rb:148:in `tsort_each'
2013-11-02T02:42:35.976400+00:00 app[web.1]: from /app/config.ru:3:in `block
in <main>'
2013-11-02T02:42:35.976400+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'
2013-11-02T02:42:35.976253+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0
.0/gems/railties-4.0.0/lib/rails/initializable.rb:44:in `each'
2013-11-02T02:42:35.976400+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'
2013-11-02T02:42:35.976801+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'
2013-11-02T02:42:35.976253+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/
ruby/2.0.0/tsort.rb:209:in `block in each_strongly_connected_component_from'
2013-11-02T02:42:35.976400+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0
.0/gems/railties-4.0.0/lib/rails/railtie/configurable.rb:30:in `method_missing'
2013-11-02T02:42:35.976400+00:00 app[web.1]: from /app/config/environment.rb:
5:in `<top (required)>'
2013-11-02T02:42:35.976400+00:00 app[web.1]: from /app/config.ru:3:in `requir
e'
2013-11-02T02:42:35.976400+00:00 app[web.1]: from /app/config.ru:in `<main>'
2013-11-02T02:42:35.976801+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'
2013-11-02T02:42:35.976400+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'
2013-11-02T02:42:35.976400+00:00 app[web.1]: from /app/config.ru:in `new'
2013-11-02T02:42:35.976801+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'
2013-11-02T02:42:35.976969+00:00 app[web.1]: from bin/rails:4:in `<main>'
2013-11-02T02:42:35.976801+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0
.0/gems/railties-4.0.0/lib/rails/commands.rb:78:in `block in <top (required)>'
2013-11-02T02:42:35.976801+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0
.0/gems/railties-4.0.0/lib/rails/commands.rb:73:in `tap'
2013-11-02T02:42:35.976801+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'
2013-11-02T02:42:35.976801+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0
.0/gems/railties-4.0.0/lib/rails/commands/server.rb:48:in `app'
2013-11-02T02:42:35.976801+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'
2013-11-02T02:42:35.976969+00:00 app[web.1]: from bin/rails:4:in `require'
2013-11-02T02:42:35.976801+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0
.0/gems/railties-4.0.0/lib/rails/commands/server.rb:75:in `start'
2013-11-02T02:42:35.976801+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0
.0/gems/railties-4.0.0/lib/rails/commands.rb:73:in `<top (required)>'
2013-11-02T02:42:37.108108+00:00 heroku[web.1]: Process exited with status 1
2013-11-02T02:42:37.142397+00:00 heroku[web.1]: State changed from starting to c
rashed
2013-11-02T02:42:40.089711+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path=/ host=quacklab.herokuapp.com fwd="24.52.218.163" dyno= co
nnect= service= status=503 bytes=
2013-11-02T02:42:40.402078+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path=/favicon.ico host=quacklab.herokuapp.com fwd="24.52.218.16
3" dyno= connect= service= status=503 bytes=
2013-11-02T02:42:40.544050+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path=/favicon.ico host=quacklab.herokuapp.com fwd="24.52.218.16
3" dyno= connect= service= status=503 bytes=
2013-11-02T02:45:03+00:00 heroku[slug-compiler]: Slug compilation started
2013-11-02T02:45:25.378838+00:00 heroku[api]: Deploy c1a539f by taylorscollon#gm
ail.com
2013-11-02T02:45:25.406765+00:00 heroku[api]: Release v15 created by taylorscoll
on#gmail.com
2013-11-02T02:45:25+00:00 heroku[slug-compiler]: Slug compilation finished
2013-11-02T02:45:25.854982+00:00 heroku[web.1]: State changed from crashed to st
arting
2013-11-02T02:45:30.985303+00:00 heroku[web.1]: Starting process with command `b
in/rails server -p 30336 -e $RAILS_ENV`
2013-11-02T02:45:35.464823+00:00 app[web.1]: Exiting
2013-11-02T02:45:35.462924+00:00 app[web.1]: => Booting WEBrick
2013-11-02T02:45:35.462924+00:00 app[web.1]: => Rails 4.0.0 application starting
in production on http://0.0.0.0:30336
2013-11-02T02:45:35.468274+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0
.0/gems/railties-4.0.0/lib/rails/engine.rb:608:in `each'
2013-11-02T02:45:35.468168+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0
.0/gems/railties-4.0.0/lib/rails/engine.rb:609:in `block (2 levels) in <class:En
gine>'
2013-11-02T02:45:35.468375+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0
.0/gems/railties-4.0.0/lib/rails/engine.rb:608:in `block in <class:Engine>'
2013-11-02T02:45:35.468693+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0
.0/gems/railties-4.0.0/lib/rails/initializable.rb:55:in `block in run_initialize
rs'
2013-11-02T02:45:35.468474+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0
.0/gems/railties-4.0.0/lib/rails/initializable.rb:30:in `instance_exec'
2013-11-02T02:45:35.468592+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0
.0/gems/railties-4.0.0/lib/rails/initializable.rb:30:in `run'
2013-11-02T02:45:35.462924+00:00 app[web.1]: => Ctrl-C to shutdown server
2013-11-02T02:45:35.467812+00:00 app[web.1]: /app/config/initializers/pony.rb:1:
in `<top (required)>': uninitialized constant Pony (NameError)
2013-11-02T02:45:35.468895+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_componen
t'
2013-11-02T02:45:35.469093+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'
2013-11-02T02:45:35.469407+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0
.0/gems/railties-4.0.0/lib/rails/initializable.rb:44:in `tsort_each_child'
2013-11-02T02:45:35.469208+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/
ruby/2.0.0/tsort.rb:209:in `block in each_strongly_connected_component_from'
2013-11-02T02:45:35.469308+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0
.0/gems/railties-4.0.0/lib/rails/initializable.rb:44:in `each'
2013-11-02T02:45:35.469505+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/
ruby/2.0.0/tsort.rb:203:in `each_strongly_connected_component_from'
2013-11-02T02:45:35.468994+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/
ruby/2.0.0/tsort.rb:210:in `block (2 levels) in each_strongly_connected_componen
t_from'
2013-11-02T02:45:35.469857+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'
2013-11-02T02:45:35.469956+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/
ruby/2.0.0/tsort.rb:148:in `tsort_each'
2013-11-02T02:45:35.470056+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0
.0/gems/railties-4.0.0/lib/rails/initializable.rb:54:in `run_initializers'
2013-11-02T02:45:35.470366+00:00 app[web.1]: from /app/config/environment.rb:
5:in `<top (required)>'
2013-11-02T02:45:35.462924+00:00 app[web.1]: => Run `rails server -h` for more s
tartup options
2013-11-02T02:45:35.470568+00:00 app[web.1]: from /app/config.ru:3:in `block
in <main>'
2013-11-02T02:45:35.469756+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/
ruby/2.0.0/tsort.rb:180:in `each'
2013-11-02T02:45:35.470252+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0
.0/gems/railties-4.0.0/lib/rails/railtie/configurable.rb:30:in `method_missing'
2013-11-02T02:45:35.470668+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'
2013-11-02T02:45:35.471200+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'
2013-11-02T02:45:35.471298+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'
2013-11-02T02:45:35.470980+00:00 app[web.1]: from /app/config.ru:in `<main>'
2013-11-02T02:45:35.470868+00:00 app[web.1]: from /app/config.ru:in `new'
2013-11-02T02:45:35.468792+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'
2013-11-02T02:45:35.470770+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'
2013-11-02T02:45:35.471098+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'
2013-11-02T02:45:35.471495+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'
2013-11-02T02:45:35.471908+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0
.0/gems/railties-4.0.0/lib/rails/commands.rb:78:in `block in <top (required)>'
2013-11-02T02:45:35.471396+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'
2013-11-02T02:45:35.471594+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0
.0/gems/railties-4.0.0/lib/rails/commands/server.rb:48:in `app'
2013-11-02T02:45:35.471692+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'
2013-11-02T02:45:35.472108+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0
.0/gems/railties-4.0.0/lib/rails/commands.rb:73:in `<top (required)>'
2013-11-02T02:45:35.471807+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0
.0/gems/railties-4.0.0/lib/rails/commands/server.rb:75:in `start'
2013-11-02T02:45:35.472208+00:00 app[web.1]: from bin/rails:4:in `require'
2013-11-02T02:45:35.472317+00:00 app[web.1]: from bin/rails:4:in `<main>'
2013-11-02T02:45:35.472007+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0
.0/gems/railties-4.0.0/lib/rails/commands.rb:73:in `tap'
2013-11-02T02:45:35.469655+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'
2013-11-02T02:45:35.470154+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0
.0/gems/railties-4.0.0/lib/rails/application.rb:215:in `initialize!'
2013-11-02T02:45:35.470468+00:00 app[web.1]: from /app/config.ru:3:in `requir
e'
2013-11-02T02:45:36.978992+00:00 heroku[web.1]: Process exited with status 1
2013-11-02T02:45:37.012398+00:00 heroku[web.1]: State changed from starting to c
rashed
2013-11-02T02:46:01.632458+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path=/ host=quacklab.herokuapp.com fwd="24.52.218.163" dyno= co
nnect= service= status=503 bytes=
2013-11-02T02:46:01.960645+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path=/favicon.ico host=quacklab.herokuapp.com fwd="24.52.218.16
3" dyno= connect= service= status=503 bytes=
2013-11-02T02:46:02.126826+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path=/favicon.ico host=quacklab.herokuapp.com fwd="24.52.218.16
3" dyno= connect= service= status=503 bytes=
Confirm that you are using using Bundler 1.3.2. And that you are pushing both your Gemfile and your lock file.
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.
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') }
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.
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.
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).