I have followed all of the Heroku / Rails 3 information for deploying and have done so successfully in the past as well. For some reason this dyno keeps crashing on deployment and I can't seem to figure out what it is.
Here is the logs...
2013-08-08T07:14:53.597688+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.4.1/lib/rack/builder.rb:40:in `parse_file'
2013-08-08T07:14:53.597688+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/commands/server.rb:70:in `start'
2013-08-08T07:14:53.597370+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:251:in `block in require'
2013-08-08T07:14:53.597688+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/commands/server.rb:46:in `app'
2013-08-08T07:14:53.597204+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/engine.rb:439:in `block (2 levels) in eager_load!'
2013-08-08T07:14:53.597370+00:00 app[web.1]: from /app/config.ru:4:in `block in '
2013-08-08T07:14:53.597688+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.4.1/lib/rack/server.rb:301:in `wrapped_app'
2013-08-08T07:14:53.597370+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.4.1/lib/rack/builder.rb:51:in `instance_eval'
2013-08-08T07:14:53.597852+00:00 app[web.1]: from script/rails:6:in `'
2013-08-08T07:14:53.597370+00:00 app[web.1]: from /app/config/environment.rb:5:in `'
2013-08-08T07:14:53.597852+00:00 app[web.1]: from script/rails:6:in `require'
2013-08-08T07:14:53.597688+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.4.1/lib/rack/server.rb:200:in `app'
2013-08-08T07:14:53.597852+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/commands.rb:50:in `'
2013-08-08T07:14:53.597852+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/commands.rb:50:in `tap'
2013-08-08T07:14:53.597688+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.4.1/lib/rack/server.rb:252:in `start'
2013-08-08T07:14:53.597852+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/commands.rb:55:in `block in '
2013-08-08T07:14:54.816593+00:00 heroku[web.1]: Process exited with status 1
2013-08-08T07:14:54.832103+00:00 heroku[web.1]: State changed from starting to crashed
2013-08-08T07:15:24.152264+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=retreat-4025.herokuapp.com fwd="66.148.232.2" dyno= connect= service= status=503 bytes=
2013-08-08T07:15:24.302037+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=retreat-4025.herokuapp.com fwd="66.148.232.2" dyno= connect= service= status=503 bytes=
2013-08-08T07:15:26.500540+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=retreat-4025.herokuapp.com fwd="66.148.232.2" dyno= connect= service= status=503 bytes=
2013-08-08T07:15:26.585865+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=retreat-4025.herokuapp.com fwd="66.148.232.2" dyno= connect= service= status=503 bytes=
2013-08-08T07:15:52.251894+00:00 heroku[web.1]: State changed from crashed to starting
2013-08-08T07:15:57.691573+00:00 heroku[web.1]: Starting process with command `bundle exec rails server -p 37681`
2013-08-08T07:16:02.767322+00:00 app[web.1]: DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from at /app/config/environment.rb:5)
2013-08-08T07:16:02.767322+00:00 app[web.1]: DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from at /app/config/environment.rb:5)
2013-08-08T07:16:02.767322+00:00 app[web.1]: DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from at /app/config/environment.rb:5)
2013-08-08T07:16:03.583098+00:00 app[web.1]: => Booting WEBrick
2013-08-08T07:16:03.583098+00:00 app[web.1]: => Rails 3.2.6 application starting in production on http://0.0.0.0:37681
2013-08-08T07:16:03.583098+00:00 app[web.1]: => Call with -d to detach
2013-08-08T07:16:03.583098+00:00 app[web.1]: => Ctrl-C to shutdown server
2013-08-08T07:16:03.583098+00:00 app[web.1]: Exiting
2013-08-08T07:16:03.584336+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/authlogic-3.1.3/lib/authlogic/acts_as_authentic/base.rb:31:in `acts_as_authentic': You must establish a database connection before using acts_as_authentic (StandardError)
2013-08-08T07:16:03.584336+00:00 app[web.1]: from /app/app/models/user.rb:2:in `'
2013-08-08T07:16:03.584336+00:00 app[web.1]: from /app/app/models/user.rb:1:in `'
2013-08-08T07:16:03.584336+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:251:in `require'
2013-08-08T07:16:03.584336+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:251:in `block in require'
2013-08-08T07:16:03.584336+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:236:in `load_dependency'
2013-08-08T07:16:03.584336+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:251:in `require'
2013-08-08T07:16:03.584336+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:359:in `require_or_load'
2013-08-08T07:16:03.584336+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:502:in `load_missing_constant'
2013-08-08T07:16:03.584336+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:192:in `block in const_missing'
2013-08-08T07:16:03.584484+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:190:in `each'
2013-08-08T07:16:03.584484+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:190:in `const_missing'
2013-08-08T07:16:03.584484+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/inflector/methods.rb:229:in `block in constantize'
2013-08-08T07:16:03.584484+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/inflector/methods.rb:228:in `constantize'
2013-08-08T07:16:03.584484+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/inflector/methods.rb:228:in `each'
2013-08-08T07:16:03.584484+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/inflector/methods.rb:259:in `safe_constantize'
2013-08-08T07:16:03.584484+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/core_ext/string/inflections.rb:66:in `safe_constantize'
2013-08-08T07:16:03.584484+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.6/lib/action_controller/metal/params_wrapper.rb:152:in `_default_wrap_model'
2013-08-08T07:16:03.584484+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.6/lib/action_controller/metal/params_wrapper.rb:169:in `_set_wrapper_defaults'
2013-08-08T07:16:03.584484+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.6/lib/action_controller/metal/params_wrapper.rb:133:in `inherited'
2013-08-08T07:16:03.584623+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.6/lib/abstract_controller/railties/routes_helpers.rb:7:in `block (2 levels) in with'
2013-08-08T07:16:03.584623+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.6/lib/action_controller/railties/paths.rb:7:in `block (2 levels) in with'
2013-08-08T07:16:03.584623+00:00 app[web.1]: from /app/app/controllers/users_controller.rb:1:in `'
2013-08-08T07:16:03.584623+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:251:in `require'
2013-08-08T07:16:03.584623+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:236:in `load_dependency'
2013-08-08T07:16:03.584623+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:251:in `require'
2013-08-08T07:16:03.584623+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:359:in `require_or_load'
2013-08-08T07:16:03.584623+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:251:in `block in require'
2013-08-08T07:16:03.584623+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:313:in `depend_on'
2013-08-08T07:16:03.584623+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:225:in `require_dependency'
2013-08-08T07:16:03.585001+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/engine.rb:439:in `block (2 levels) in eager_load!'
2013-08-08T07:16:03.585001+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/engine.rb:438:in `each'
2013-08-08T07:16:03.585001+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/engine.rb:438:in `block in eager_load!'
2013-08-08T07:16:03.585001+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/engine.rb:436:in `each'
2013-08-08T07:16:03.585001+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/initializable.rb:30:in `instance_exec'
2013-08-08T07:16:03.585001+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/application/finisher.rb:53:in `block in '
2013-08-08T07:16:03.585001+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/engine.rb:436:in `eager_load!'
2013-08-08T07:16:03.585001+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/initializable.rb:30:in `run'
2013-08-08T07:16:03.585001+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/initializable.rb:55:in `block in run_initializers'
2013-08-08T07:16:03.585143+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/initializable.rb:54:in `run_initializers'
2013-08-08T07:16:03.585143+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/application.rb:136:in `initialize!'
2013-08-08T07:16:03.585143+00:00 app[web.1]: from /app/config/environment.rb:5:in `'
2013-08-08T07:16:03.585143+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:251:in `require'
2013-08-08T07:16:03.585143+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:251:in `block in require'
2013-08-08T07:16:03.585001+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/initializable.rb:54:in `each'
2013-08-08T07:16:03.585143+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:236:in `load_dependency'
2013-08-08T07:16:03.585143+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:251:in `require'
2013-08-08T07:16:03.585143+00:00 app[web.1]: from /app/config.ru:4:in `block in '
2013-08-08T07:16:03.585143+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.4.1/lib/rack/builder.rb:51:in `instance_eval'
2013-08-08T07:16:03.585392+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.4.1/lib/rack/builder.rb:51:in `initialize'
2013-08-08T07:16:03.585392+00:00 app[web.1]: from /app/config.ru:1:in `new'
2013-08-08T07:16:03.585392+00:00 app[web.1]: from /app/config.ru:1:in `'
2013-08-08T07:16:03.585392+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.4.1/lib/rack/builder.rb:40:in `eval'
2013-08-08T07:16:03.585392+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.4.1/lib/rack/builder.rb:40:in `parse_file'
2013-08-08T07:16:03.585392+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.4.1/lib/rack/server.rb:200:in `app'
2013-08-08T07:16:03.585143+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/railtie/configurable.rb:30:in `method_missing'
2013-08-08T07:16:03.585392+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/commands/server.rb:46:in `app'
2013-08-08T07:16:03.585392+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.4.1/lib/rack/server.rb:301:in `wrapped_app'
2013-08-08T07:16:03.585392+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.4.1/lib/rack/server.rb:252:in `start'
2013-08-08T07:16:03.585581+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/commands.rb:55:in `block in '
2013-08-08T07:16:03.585581+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/commands.rb:50:in `tap'
2013-08-08T07:16:03.585581+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/commands.rb:50:in `'
2013-08-08T07:16:03.585581+00:00 app[web.1]: from script/rails:6:in `require'
2013-08-08T07:16:03.585392+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/commands/server.rb:70:in `start'
2013-08-08T07:16:03.585581+00:00 app[web.1]: from script/rails:6:in `'
2013-08-08T07:16:05.244491+00:00 heroku[web.1]: Process exited with status 1
2013-08-08T07:16:05.269665+00:00 heroku[web.1]: State changed from starting to crashed
2013-08-08T07:16:06.134395+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=retreat-4025.herokuapp.com fwd="66.148.232.2" dyno= connect= service= status=503 bytes=
2013-08-08T07:16:06.471391+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=retreat-4025.herokuapp.com fwd="66.148.232.2" dyno= connect= service= status=503 bytes=
Was just a matter of creating / migrating the database.
heroku rake db:create
and
heroku rake db:migrate
Thanks everyone for your help!
Related
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.
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).
I'm trying to use Heroku to deploy my first app. I followed the directions carefully but I'm getting an error message when I browse to the link provided http://boiling-bastion-xxxx.herokuapp.com/. Everything worked fine on my localserver. Below is the heroku logs. What's causing the app error?
C:\Users\Me\Desktop\sample_app>heroku logs
2013-03-07T02:20:25+00:00 app[web.1]: from /app/config/environment.rb:5:in `<t
op (required)>'
2013-03-07T02:20:25+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require'
2013-03-07T02:20:25+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `block in require'
2013-03-07T02:20:25+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
activesupport-3.2.3/lib/active_support/dependencies.rb:236:in `load_dependency'
2013-03-07T02:20:25+00:00 app[web.1]: from /app/config.ru:3:in `block in <main
>'
2013-03-07T02:20:25+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
rack-1.4.5/lib/rack/builder.rb:51:in `initialize'
2013-03-07T02:20:25+00:00 app[web.1]: from /app/config.ru:in `new'
2013-03-07T02:20:25+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require'
2013-03-07T02:20:25+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
rack-1.4.5/lib/rack/builder.rb:51:in `instance_eval'
2013-03-07T02:20:25+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
rack-1.4.5/lib/rack/builder.rb:40:in `eval'
2013-03-07T02:20:25+00:00 app[web.1]: from /app/config.ru:in `<main>'
2013-03-07T02:20:25+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
rack-1.4.5/lib/rack/server.rb:200:in `app'
2013-03-07T02:20:25+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
rack-1.4.5/lib/rack/builder.rb:40:in `parse_file'
2013-03-07T02:20:25+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
railties-3.2.3/lib/rails/commands/server.rb:46:in `app'
2013-03-07T02:20:25+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
railties-3.2.3/lib/rails/commands/server.rb:70:in `start'
2013-03-07T02:20:25+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
rack-1.4.5/lib/rack/server.rb:304:in `wrapped_app'
2013-03-07T02:20:25+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
rack-1.4.5/lib/rack/server.rb:254:in `start'
2013-03-07T02:20:25+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
railties-3.2.3/lib/rails/commands.rb:55:in `block in <top (required)>'
2013-03-07T02:20:25+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
railties-3.2.3/lib/rails/commands.rb:50:in `tap'
2013-03-07T02:20:25+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
railties-3.2.3/lib/rails/commands.rb:50:in `<top (required)>'
2013-03-07T02:20:25+00:00 app[web.1]: from script/rails:6:in `require'
2013-03-07T02:20:25+00:00 app[web.1]: from script/rails:6:in `<main>'
2013-03-07T02:20:26+00:00 heroku[web.1]: Process exited with status 1
2013-03-07T02:20:26+00:00 heroku[web.1]: State changed from crashed to starting
2013-03-07T02:20:26+00:00 heroku[web.1]: State changed from starting to crashed
2013-03-07T02:20:28+00:00 heroku[web.1]: Starting process with command `bundle e
xec rails server -p 25011`
2013-03-07T02:20:36+00:00 app[web.1]: DEPRECATION WARNING: You have Rails 2.3-st
yle plugins in vendor/plugins! Support for these plugins will be removed in Rail
s 4.0. Move them out and bundle them in your Gemfile, or fold them in to your ap
p as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes f
or more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been
-released. (called from <top (required)> at /app/config/environment.rb:5)
2013-03-07T02:20:36+00:00 app[web.1]: DEPRECATION WARNING: You have Rails 2.3-st
yle plugins in vendor/plugins! Support for these plugins will be removed in Rail
s 4.0. Move them out and bundle them in your Gemfile, or fold them in to your ap
p as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes f
or more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been
-released. (called from <top (required)> at /app/config/environment.rb:5)
2013-03-07T02:20:36+00:00 app[web.1]: DEPRECATION WARNING: You have Rails 2.3-st
yle plugins in vendor/plugins! Support for these plugins will be removed in Rail
s 4.0. Move them out and bundle them in your Gemfile, or fold them in to your ap
p as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes f
or more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been
-released. (called from <top (required)> at /app/config/environment.rb:5)
2013-03-07T02:20:38+00:00 app[web.1]: SECURITY WARNING: No secret option
provided to Rack::Session::Cookie.
2013-03-07T02:20:38+00:00 app[web.1]: This poses a security threat. It i
s strongly recommended that you
2013-03-07T02:20:38+00:00 app[web.1]: provide a secret to prevent exploi
ts that may be possible from crafted
2013-03-07T02:20:38+00:00 app[web.1]: cookies. This will not be supporte
d in future versions of Rack, and
2013-03-07T02:20:38+00:00 app[web.1]: future versions will even invalida
te your existing user cookies.
2013-03-07T02:20:38+00:00 app[web.1]:
2013-03-07T02:20:38+00:00 app[web.1]: Called from: /app/vendor/bundle/ru
by/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/middleware/session/abstract_s
tore.rb:28:in `initialize'.
2013-03-07T02:20:38+00:00 app[web.1]:
2013-03-07T02:20:41+00:00 app[web.1]: => Booting WEBrick
2013-03-07T02:20:41+00:00 app[web.1]: => Rails 3.2.3 application starting in pro
duction on http://0.0.0.0:25011
2013-03-07T02:20:41+00:00 app[web.1]: => Call with -d to detach
2013-03-07T02:20:41+00:00 app[web.1]: => Ctrl-C to shutdown server
2013-03-07T02:20:41+00:00 app[web.1]: Exiting
2013-03-07T02:20:41+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/actives
upport-3.2.3/lib/active_support/dependencies.rb:251:in `require': /app/app/contr
ollers/widgets_controller.rb:9: syntax error, unexpected keyword_end, expecting
$end (SyntaxError)
2013-03-07T02:20:41+00:00 app[web.1]: ^
2013-03-07T02:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
activesupport-3.2.3/lib/active_support/dependencies.rb
:236:in `load_dependency'
2013-03-07T02:20:41+00:00 app[web.1]: end
2013-03-07T02:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `block in require'
2013-03-07T02:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require'
2013-03-07T02:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
activesupport-3.2.3/lib/active_support/dependencies.rb:359:in `require_or_load'
2013-03-07T02:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
activesupport-3.2.3/lib/active_support/dependencies.rb:313:in `depend_on'
2013-03-07T02:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
activesupport-3.2.3/lib/active_support/dependencies.rb:225:in `require_dependenc
y'
2013-03-07T02:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
railties-3.2.3/lib/rails/engine.rb:439:in `block (2 levels) in eager_load!'
2013-03-07T02:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
railties-3.2.3/lib/rails/engine.rb:438:in `each'
2013-03-07T02:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
railties-3.2.3/lib/rails/engine.rb:438:in `block in eager_load!'
2013-03-07T02:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
railties-3.2.3/lib/rails/engine.rb:436:in `each'
2013-03-07T02:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
railties-3.2.3/lib/rails/engine.rb:436:in `eager_load!'
2013-03-07T02:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
railties-3.2.3/lib/rails/application/finisher.rb:53:in `block in <module:Finishe
r>'
2013-03-07T02:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
railties-3.2.3/lib/rails/initializable.rb:30:in `instance_exec'
2013-03-07T02:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
railties-3.2.3/lib/rails/initializable.rb:30:in `run'
2013-03-07T02:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
railties-3.2.3/lib/rails/initializable.rb:54:in `each'
2013-03-07T02:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
railties-3.2.3/lib/rails/initializable.rb:55:in `block in run_initializers'
2013-03-07T02:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
railties-3.2.3/lib/rails/initializable.rb:54:in `run_initializers'
2013-03-07T02:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
railties-3.2.3/lib/rails/application.rb:136:in `initialize!'
2013-03-07T02:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
railties-3.2.3/lib/rails/railtie/configurable.rb:30:in `method_missing'
2013-03-07T02:20:41+00:00 app[web.1]: from /app/config/environment.rb:5:in `<t
op (required)>'
2013-03-07T02:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require'
2013-03-07T02:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `block in require'
2013-03-07T02:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
activesupport-3.2.3/lib/active_support/dependencies.rb:236:in `load_dependency'
2013-03-07T02:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require'
2013-03-07T02:20:41+00:00 app[web.1]: from /app/config.ru:3:in `block in <main
>'
2013-03-07T02:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
rack-1.4.5/lib/rack/builder.rb:51:in `instance_eval'
2013-03-07T02:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
rack-1.4.5/lib/rack/builder.rb:51:in `initialize'
2013-03-07T02:20:41+00:00 app[web.1]: from /app/config.ru:in `new'
2013-03-07T02:20:41+00:00 app[web.1]: from /app/config.ru:in `<main>'
2013-03-07T02:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
rack-1.4.5/lib/rack/builder.rb:40:in `eval'
2013-03-07T02:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
rack-1.4.5/lib/rack/builder.rb:40:in `parse_file'
2013-03-07T02:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
rack-1.4.5/lib/rack/server.rb:200:in `app'
2013-03-07T02:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
railties-3.2.3/lib/rails/commands/server.rb:46:in `app'
2013-03-07T02:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
rack-1.4.5/lib/rack/server.rb:304:in `wrapped_app'
2013-03-07T02:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
rack-1.4.5/lib/rack/server.rb:254:in `start'
2013-03-07T02:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
railties-3.2.3/lib/rails/commands/server.rb:70:in `start'
2013-03-07T02:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
railties-3.2.3/lib/rails/commands.rb:55:in `block in <top (required)>'
2013-03-07T02:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
railties-3.2.3/lib/rails/commands.rb:50:in `tap'
2013-03-07T02:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/
railties-3.2.3/lib/rails/commands.rb:50:in `<top (required)>'
2013-03-07T02:20:41+00:00 app[web.1]: from script/rails:6:in `require'
2013-03-07T02:20:41+00:00 app[web.1]: from script/rails:6:in `<main>'
2013-03-07T02:20:42+00:00 heroku[web.1]: Process exited with status 1
2013-03-07T02:20:42+00:00 heroku[web.1]: State changed from starting to crashed
2013-03-07T02:22:01+00:00 heroku[api]: Starting process with command `bundle exe
c rake db:migrate` by skim#outlook.com
2013-03-07T02:22:04+00:00 heroku[run.1268]: Starting process with command `bundl
e exec rake db:migrate`
2013-03-07T02:22:04+00:00 heroku[run.1268]: Awaiting client
2013-03-07T02:22:04+00:00 heroku[run.1268]: State changed from starting to up
2013-03-07T02:22:19+00:00 heroku[run.1268]: Process exited with status 0
2013-03-07T02:22:19+00:00 heroku[run.1268]: State changed from up to complete
2013-03-07T02:22:22+00:00 heroku[router]: at=error code=H10 desc="App crashed" m
ethod=GET path=/ host=boiling-bastion-2459.herokuapp.com fwd="75.82.42.93" dyno=
queue= wait= connect= service= status=503 bytes=
2013-03-07T02:22:22+00:00 heroku[router]: at=error code=H10 desc="App crashed" m
ethod=GET path=/favicon.ico host=boiling-bastion-2459.herokuapp.com fwd="75.82.4
2.93" dyno= queue= wait= connect= service= status=503 bytes=
2013-03-07T02:22:22+00:00 heroku[router]: at=error code=H10 desc="App crashed" m
ethod=GET path=/favicon.ico host=boiling-bastion-2459.herokuapp.com fwd="75.82.4
2.93" dyno= queue= wait= connect= service= status=503 bytes=
2013-03-07T02:22:26+00:00 heroku[router]: at=error code=H10 desc="App crashed" m
ethod=GET path=/ host=boiling-bastion-2459.herokuapp.com fwd="75.82.42.93" dyno=
queue= wait= connect= service= status=503 bytes=
2013-03-07T02:22:27+00:00 heroku[router]: at=error code=H10 desc="App crashed" m
ethod=GET path=/ host=boiling-bastion-2459.herokuapp.com fwd="75.82.42.93" dyno=
queue= wait= connect= service= status=503 bytes=
2013-03-07T02:22:30+00:00 heroku[router]: at=error code=H10 desc="App crashed" m
ethod=GET path=/ host=boiling-bastion-2459.herokuapp.com fwd="75.82.42.93" dyno=
queue= wait= connect= service= status=503 bytes=
2013-03-07T02:22:46+00:00 heroku[router]: at=error code=H10 desc="App crashed" m
ethod=GET path=/ host=boiling-bastion-2459.herokuapp.com fwd="75.82.42.93" dyno=
queue= wait= connect= service= status=503 bytes=
C:\Users\Me\Desktop\sample_app>
It's in your /widgets_controller.rb
It says
syntax error, unexpected keyword_end, expecting $end (SyntaxError)
I'm going to assume you you've accidentally left out an end