Trying to launch an app on Heroku, but it keeps getting an application error. Here are the heroku logs, Please let me know what I can do to get it the application running. We have implemented pusher and can get the website to work on local host (even the pusher features across different localhost machines) but other than that it does not work on heroku.
2012-11-04T19:57:31+00:00 app[web.1]: Connecting to database specified by DATABASE_URL
2012-11-04T19:57:31+00:00 app[web.1]: /app/app/controllers/comments_controller.rb:2:in `<class:CommentsController>': undefined method `post' for CommentsController:Class (NoMethodError)
2012-11-04T19:57:31+00:00 app[web.1]: from /app/app/controllers/comments_controller.rb:1:in `<top (required)>'
2012-11-04T19:57:31+00:00 app[web.1]: Exiting
2012-11-04T19:57:31+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `require'
2012-11-04T19:57:31+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:236:in `load_dependency'
2012-11-04T19:57:31+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `block in require'
2012-11-04T19:57:31+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `require'
2012-11-04T19:57:31+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:359:in `require_or_load'
2012-11-04T19:57:31+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:313:in `depend_on'
2012-11-04T19:57:31+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:225:in `require_dependency'
2012-11-04T19:57:31+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/engine.rb:439:in `block (2 levels) in eager_load!'
2012-11-04T19:57:31+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/engine.rb:438:in `each'
2012-11-04T19:57:31+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/engine.rb:438:in `block in eager_load!'
2012-11-04T19:57:31+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/engine.rb:436:in `each'
2012-11-04T19:57:31+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/engine.rb:436:in `eager_load!'
2012-11-04T19:57:31+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/application/finisher.rb:53:in `block in <module:Finisher>'
2012-11-04T19:57:31+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/initializable.rb:30:in `instance_exec'
2012-11-04T19:57:31+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/initializable.rb:30:in `run'
2012-11-04T19:57:31+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/initializable.rb:55:in `block in run_initializers'
2012-11-04T19:57:31+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/initializable.rb:54:in `run_initializers'
2012-11-04T19:57:31+00:00 app[web.1]: from /app/config.ru:1:in `<main>'
2012-11-04T19:57:31+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:40:in `eval'
2012-11-04T19:57:31+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:40:in `parse_file'
2012-11-04T19:57:31+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:200:in `app'
2012-11-04T19:57:31+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:301:in `wrapped_app'
2012-11-04T19:57:31+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/commands/server.rb:46:in `app'
2012-11-04T19:57:31+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/initializable.rb:54:in `each'
2012-11-04T19:57:31+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/application.rb:136:in `initialize!'
2012-11-04T19:57:31+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:252:in `start'
2012-11-04T19:57:31+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/commands/server.rb:70:in `start'
2012-11-04T19:57:31+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:30:in `method_missing'
2012-11-04T19:57:31+00:00 app[web.1]: from /app/config/environment.rb:5:in `<top (required)>'
2012-11-04T19:57:31+00:00 app[web.1]: from /app/config.ru:4:in `require'
2012-11-04T19:57:31+00:00 app[web.1]: from /app/config.ru:4:in `block in <main>'
2012-11-04T19:57:31+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:51:in `instance_eval'
2012-11-04T19:57:31+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:51:in `initialize'
2012-11-04T19:57:31+00:00 app[web.1]: from /app/config.ru:1:in `new'
2012-11-04T19:57:31+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/commands.rb:55:in `block in <top (required)>'
2012-11-04T19:57:31+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/commands.rb:50:in `tap'
2012-11-04T19:57:31+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/commands.rb:50:in `<top (required)>'
2012-11-04T19:57:31+00:00 app[web.1]: from script/rails:6:in `require'
2012-11-04T19:57:31+00:00 app[web.1]: from script/rails:6:in `<main>'
2012-11-04T19:57:32+00:00 app[web.1]: => Booting WEBrick
2012-11-04T19:57:32+00:00 app[web.1]: => Rails 3.2.8 application starting in production on http://0.0.0.0:46992
2012-11-04T19:57:32+00:00 app[web.1]: => Call with -d to detach
2012-11-04T19:57:32+00:00 app[web.1]: => Ctrl-C to shutdown server
2012-11-04T19:57:32+00:00 app[web.1]: Connecting to database specified by DATABASE_URL
2012-11-04T19:57:32+00:00 app[web.1]: Exiting
2012-11-04T19:57:32+00:00 app[web.1]: /app/app/controllers/comments_controller.rb:2:in `<class:CommentsController>': undefined method `post' for CommentsController:Class (NoMethodError)
2012-11-04T19:57:32+00:00 app[web.1]: from /app/app/controllers/comments_controller.rb:1:in `<top (required)>'
2012-11-04T19:57:32+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `require'
2012-11-04T19:57:32+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `block in require'
2012-11-04T19:57:32+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:236:in `load_dependency'
2012-11-04T19:57:32+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `require'
2012-11-04T19:57:32+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:359:in `require_or_load'
2012-11-04T19:57:32+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:313:in `depend_on'
2012-11-04T19:57:32+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:225:in `require_dependency'
2012-11-04T19:57:32+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/engine.rb:439:in `block (2 levels) in eager_load!'
2012-11-04T19:57:32+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/engine.rb:438:in `each'
2012-11-04T19:57:32+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/engine.rb:438:in `block in eager_load!'
2012-11-04T19:57:32+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/engine.rb:436:in `each'
2012-11-04T19:57:32+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/engine.rb:436:in `eager_load!'
2012-11-04T19:57:32+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/application/finisher.rb:53:in `block in <module:Finisher>'
2012-11-04T19:57:32+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/initializable.rb:30:in `instance_exec'
2012-11-04T19:57:32+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/initializable.rb:30:in `run'
2012-11-04T19:57:32+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/initializable.rb:55:in `block in run_initializers'
2012-11-04T19:57:32+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/initializable.rb:54:in `each'
2012-11-04T19:57:32+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/initializable.rb:54:in `run_initializers'
2012-11-04T19:57:32+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/application.rb:136:in `initialize!'
2012-11-04T19:57:32+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:30:in `method_missing'
2012-11-04T19:57:32+00:00 app[web.1]: from /app/config/environment.rb:5:in `<top (required)>'
2012-11-04T19:57:32+00:00 app[web.1]: from /app/config.ru:4:in `require'
2012-11-04T19:57:32+00:00 app[web.1]: from /app/config.ru:4:in `block in <main>'
2012-11-04T19:57:32+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:51:in `instance_eval'
2012-11-04T19:57:32+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:51:in `initialize'
2012-11-04T19:57:32+00:00 app[web.1]: from /app/config.ru:1:in `new'
2012-11-04T19:57:32+00:00 app[web.1]: from /app/config.ru:1:in `<main>'
2012-11-04T19:57:32+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:200:in `app'
2012-11-04T19:57:32+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/commands/server.rb:46:in `app'
2012-11-04T19:57:32+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:301:in `wrapped_app'
2012-11-04T19:57:32+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:252:in `start'
2012-11-04T19:57:32+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/commands/server.rb:70:in `start'
2012-11-04T19:57:32+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/commands.rb:55:in `block in <top (required)>'
2012-11-04T19:57:32+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/commands.rb:50:in `tap'
2012-11-04T19:57:32+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/commands.rb:50:in `<top (required)>'
2012-11-04T19:57:32+00:00 app[web.1]: from script/rails:6:in `require'
2012-11-04T19:57:32+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:40:in `eval'
2012-11-04T19:57:32+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:40:in `parse_file'
2012-11-04T19:57:32+00:00 app[web.1]: from script/rails:6:in `<main>'
2012-11-04T19:57:33+00:00 heroku[web.1]: Process exited with status 1
2012-11-04T19:57:33+00:00 heroku[web.1]: State changed from starting to crashed
2012-11-04T19:57:33+00:00 heroku[web.1]: Process exited with status 1
2012-11-04T20:07:27+00:00 heroku[web.1]: State changed from crashed to down
2012-11-04T20:07:27+00:00 heroku[web.1]: State changed from down to starting
2012-11-04T20:07:39+00:00 heroku[web.1]: State changed from starting to crashed
2012-11-04T20:17:44+00:00 heroku[web.1]: State changed from crashed to down
2012-11-04T20:17:44+00:00 heroku[web.1]: State changed from down to starting
2012-11-04T20:17:56+00:00 heroku[web.1]: State changed from starting to crashed
2012-11-04T20:22:51+00:00 heroku[router]: Error H10 (App crashed) -> GET followalong.herokuapp.com/ dyno= queue= wait= service= status=503 bytes=
2012-11-04T20:22:52+00:00 heroku[router]: Error H10 (App crashed) -> GET followalong.herokuapp.com/favicon.ico dyno= queue= wait= service= status=503 bytes=
As you mentioned, you are not getting this error while working normally on your local host. Try to remove or comment the CommentsController call and check whether you are able to deploy the application on Heroku? And once you make the application run, then you can enable and check what is really making the cause for this error.
Related
I used to do a lot of Ruby on Rails programming on bash but since changing over to robby russells zsh, I have not done any production level work.
I recently did a change and pushed it to heroku and I got this error when I checked heroku logs:
2020-04-07T01:51:58.557111+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.6.2/lib/active_support/inflector/methods.rb:269:in `const_get'
2020-04-07T01:51:58.557111+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.6.2/lib/active_support/inflector/methods.rb:269:in `block in constantize'
2020-04-07T01:51:58.557112+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.6.2/lib/active_support/inflector/methods.rb:267:in `each'
2020-04-07T01:51:58.557115+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.6.2/lib/active_support/inflector/methods.rb:267:in `inject'
2020-04-07T01:51:58.557118+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.6.2/lib/active_support/inflector/methods.rb:267:in `constantize'
2020-04-07T01:51:58.557136+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.6.2/lib/active_support/dependencies.rb:583:in `get'
2020-04-07T01:51:58.557144+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.6.2/lib/active_support/dependencies.rb:614:in `constantize'
2020-04-07T01:51:58.557145+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/devise-4.7.1/lib/devise.rb:320:in `get'
2020-04-07T01:51:58.557148+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/devise-4.7.1/lib/devise/mapping.rb:83:in `to'
2020-04-07T01:51:58.557149+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/devise-4.7.1/lib/devise/mapping.rb:78:in `modules'
2020-04-07T01:51:58.557149+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/devise-4.7.1/lib/devise/mapping.rb:95:in `routes'
2020-04-07T01:51:58.557152+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/devise-4.7.1/lib/devise/mapping.rb:162:in `default_used_route'
2020-04-07T01:51:58.557167+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/devise-4.7.1/lib/devise/mapping.rb:72:in `initialize'
2020-04-07T01:51:58.557167+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/devise-4.7.1/lib/devise.rb:350:in `new'
2020-04-07T01:51:58.557168+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/devise-4.7.1/lib/devise.rb:350:in `add_mapping'
2020-04-07T01:51:58.557170+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/devise-4.7.1/lib/devise/rails/routes.rb:243:in `block in devise_for'
2020-04-07T01:51:58.557184+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/devise-4.7.1/lib/devise/rails/routes.rb:242:in `each'
2020-04-07T01:51:58.557184+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/devise-4.7.1/lib/devise/rails/routes.rb:242:in `devise_for'
2020-04-07T01:51:58.557196+00:00 app[web.1]: from /app/config/routes.rb:5:in `block in <top (required)>'
2020-04-07T01:51:58.557199+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/actionpack-5.1.6.2/lib/action_dispatch/routing/route_set.rb:436:in `instance_exec'
2020-04-07T01:51:58.557199+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/actionpack-5.1.6.2/lib/action_dispatch/routing/route_set.rb:436:in `eval_block'
2020-04-07T01:51:58.557202+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/actionpack-5.1.6.2/lib/action_dispatch/routing/route_set.rb:418:in `draw'
2020-04-07T01:51:58.557217+00:00 app[web.1]: from /app/config/routes.rb:1:in `<top (required)>'
2020-04-07T01:51:58.557217+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.6.2/lib/active_support/dependencies.rb:286:in `load'
2020-04-07T01:51:58.557220+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.6.2/lib/active_support/dependencies.rb:286:in `block in load'
2020-04-07T01:51:58.557222+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.6.2/lib/active_support/dependencies.rb:258:in `load_dependency'
2020-04-07T01:51:58.557236+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.6.2/lib/active_support/dependencies.rb:286:in `load'
2020-04-07T01:51:58.557236+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/railties-5.1.6.2/lib/rails/application/routes_reloader.rb:55:in `block in load_paths'
2020-04-07T01:51:58.557239+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/railties-5.1.6.2/lib/rails/application/routes_reloader.rb:55:in `each'
2020-04-07T01:51:58.557242+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/railties-5.1.6.2/lib/rails/application/routes_reloader.rb:55:in `load_paths'
2020-04-07T01:51:58.557256+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/railties-5.1.6.2/lib/rails/application/routes_reloader.rb:18:in `reload!'
2020-04-07T01:51:58.557256+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/railties-5.1.6.2/lib/rails/application.rb:164:in `reload_routes!'
2020-04-07T01:51:58.557270+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/devise-4.7.1/lib/devise/rails.rb:17:in `block in <class:Engine>'
2020-04-07T01:51:58.557277+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.6.2/lib/active_support/lazy_load_hooks.rb:67:in `block in execute_hook'
2020-04-07T01:51:58.557280+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.6.2/lib/active_support/lazy_load_hooks.rb:60:in `with_execution_control'
2020-04-07T01:51:58.557281+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.6.2/lib/active_support/lazy_load_hooks.rb:65:in `execute_hook'
2020-04-07T01:51:58.557283+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.6.2/lib/active_support/lazy_load_hooks.rb:50:in `block in run_load_hooks'
2020-04-07T01:51:58.557301+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.6.2/lib/active_support/lazy_load_hooks.rb:49:in `each'
2020-04-07T01:51:58.557301+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.6.2/lib/active_support/lazy_load_hooks.rb:49:in `run_load_hooks'
2020-04-07T01:51:58.557304+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/railties-5.1.6.2/lib/rails/application/finisher.rb:66:in `block in <module:Finisher>'
2020-04-07T01:51:58.557305+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/railties-5.1.6.2/lib/rails/initializable.rb:30:in `instance_exec'
2020-04-07T01:51:58.557307+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/railties-5.1.6.2/lib/rails/initializable.rb:30:in `run'
2020-04-07T01:51:58.557321+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/railties-5.1.6.2/lib/rails/initializable.rb:59:in `block in run_initializers'
2020-04-07T01:51:58.557321+00:00 app[web.1]: from /app/vendor/ruby-2.4.0/lib/ruby/2.4.0/tsort.rb:228:in `block in tsort_each'
2020-04-07T01:51:58.557324+00:00 app[web.1]: from /app/vendor/ruby-2.4.0/lib/ruby/2.4.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
2020-04-07T01:51:58.557326+00:00 app[web.1]: from /app/vendor/ruby-2.4.0/lib/ruby/2.4.0/tsort.rb:431:in `each_strongly_connected_component_from'
2020-04-07T01:51:58.557340+00:00 app[web.1]: from /app/vendor/ruby-2.4.0/lib/ruby/2.4.0/tsort.rb:349:in `block in each_strongly_connected_component'
2020-04-07T01:51:58.557346+00:00 app[web.1]: from /app/vendor/ruby-2.4.0/lib/ruby/2.4.0/tsort.rb:347:in `each'
2020-04-07T01:51:58.557349+00:00 app[web.1]: from /app/vendor/ruby-2.4.0/lib/ruby/2.4.0/tsort.rb:347:in `call'
2020-04-07T01:51:58.557350+00:00 app[web.1]: from /app/vendor/ruby-2.4.0/lib/ruby/2.4.0/tsort.rb:347:in `each_strongly_connected_component'
2020-04-07T01:51:58.557350+00:00 app[web.1]: from /app/vendor/ruby-2.4.0/lib/ruby/2.4.0/tsort.rb:226:in `tsort_each'
2020-04-07T01:51:58.557364+00:00 app[web.1]: from /app/vendor/ruby-2.4.0/lib/ruby/2.4.0/tsort.rb:205:in `tsort_each'
2020-04-07T01:51:58.557364+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/railties-5.1.6.2/lib/rails/initializable.rb:58:in `run_initializers'
2020-04-07T01:51:58.557367+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/railties-5.1.6.2/lib/rails/application.rb:353:in `initialize!'
2020-04-07T01:51:58.557369+00:00 app[web.1]: from /app/config/environment.rb:5:in `<top (required)>'
2020-04-07T01:51:58.557388+00:00 app[web.1]: from config.ru:3:in `require_relative'
2020-04-07T01:51:58.557389+00:00 app[web.1]: from config.ru:3:in `block in <main>'
2020-04-07T01:51:58.557392+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/builder.rb:55:in `instance_eval'
2020-04-07T01:51:58.557392+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/builder.rb:55:in `initialize'
2020-04-07T01:51:58.557400+00:00 app[web.1]: from config.ru:in `new'
2020-04-07T01:51:58.557402+00:00 app[web.1]: from config.ru:in `<main>'
2020-04-07T01:51:58.557405+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/builder.rb:49:in `eval'
2020-04-07T01:51:58.557407+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/builder.rb:49:in `new_from_string'
2020-04-07T01:51:58.557422+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/builder.rb:40:in `parse_file'
2020-04-07T01:51:58.557423+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/server.rb:319:in `build_app_and_options_from_config'
2020-04-07T01:51:58.557426+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/server.rb:219:in `app'
2020-04-07T01:51:58.557428+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/railties-5.1.6.2/lib/rails/commands/server/server_command.rb:24:in `app'
2020-04-07T01:51:58.557441+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/server.rb:354:in `wrapped_app'
2020-04-07T01:51:58.557442+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/server.rb:283:in `start'
2020-04-07T01:51:58.557444+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/railties-5.1.6.2/lib/rails/commands/server/server_command.rb:44:in `start'
2020-04-07T01:51:58.557450+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/railties-5.1.6.2/lib/rails/commands/server/server_command.rb:135:in `block in perform'
2020-04-07T01:51:58.557452+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/railties-5.1.6.2/lib/rails/commands/server/server_command.rb:130:in `tap'
2020-04-07T01:51:58.557455+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/railties-5.1.6.2/lib/rails/commands/server/server_command.rb:130:in `perform'
2020-04-07T01:51:58.557469+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'
2020-04-07T01:51:58.557470+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'
2020-04-07T01:51:58.557473+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'
2020-04-07T01:51:58.557475+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/railties-5.1.6.2/lib/rails/command/base.rb:63:in `perform'
2020-04-07T01:51:58.557489+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/railties-5.1.6.2/lib/rails/command.rb:44:in `invoke'
2020-04-07T01:51:58.557489+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.4.0/gems/railties-5.1.6.2/lib/rails/commands.rb:16:in `<top (required)>'
2020-04-07T01:51:58.557492+00:00 app[web.1]: from bin/rails:9:in `require'
2020-04-07T01:51:58.557494+00:00 app[web.1]: from bin/rails:9:in `<main>'
2020-04-07T01:51:58.563811+00:00 app[web.1]: => Booting Puma
2020-04-07T01:51:58.563812+00:00 app[web.1]: => Rails 5.1.6.2 application starting in production
2020-04-07T01:51:58.563813+00:00 app[web.1]: => Run `rails server -h` for more startup options
2020-04-07T01:51:58.563813+00:00 app[web.1]: Exiting
2020-04-07T02:36:56.635446+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/robots.txt" host=dancortes-portfolio.herokuapp.com request_id=d7acd72b-3465-4461-b067-0f51f55a289e fwd="77.88.5.192" dyno= connect= service= status=503 bytes= protocol=https
Prior to the app crashing once pushing to Heroku, I saw various warnings, one about Procfile missing, which I have never had, another about the ruby version being outdated. Could this mean I need to update my ruby version?
So I've been trying to deploy a rails app to heroku and have been having some issues. I did a good amount of poking around through the logs and on SO but couldn't find anything to point me in the proper direction. Then again I just might be missing something obvious. Anyway any help would be greatly appreciated.
Command
git push -f heroku master
LOGS
2012-08-28T05:56:30+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:51:in `initialize'
2012-08-28T05:56:30+00:00 app[web.1]: from /app/config.ru:1:in `new'
2012-08-28T05:56:30+00:00 app[web.1]: from /app/config.ru:1:in `<main>'
2012-08-28T05:56:30+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:40:in `eval'
2012-08-28T05:56:30+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:40:in `parse_file'
2012-08-28T05:56:30+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:200:in `app'
2012-08-28T05:56:30+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'
2012-08-28T05:56:30+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:301:in `wrapped_app'
2012-08-28T05:56:30+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:252:in `start'
2012-08-28T05:56:30+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'
2012-08-28T05:56:30+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)>'
2012-08-28T05:56:30+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'
2012-08-28T05:56:30+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)>'
2012-08-28T05:56:30+00:00 app[web.1]: from script/rails:6:in `require'
2012-08-28T05:56:30+00:00 app[web.1]: from script/rails:6:in `<main>'
2012-08-28T05:56:31+00:00 heroku[web.1]: Process exited with status 1
2012-08-28T05:56:31+00:00 heroku[web.1]: State changed from starting to crashed
2012-08-28T05:56:36+00:00 heroku[slugc]: Slug compilation started
2012-08-28T05:57:19+00:00 heroku[api]: Release v6 created by raphael.shejnberg#gmail.com
2012-08-28T05:57:19+00:00 heroku[api]: Deploy 8bc52ce by raphael.shejnberg#gmail.com
2012-08-28T05:57:19+00:00 heroku[web.1]: State changed from crashed to starting
2012-08-28T05:57:20+00:00 heroku[slugc]: Slug compilation finished
2012-08-28T05:57:21+00:00 heroku[web.1]: Starting process with command `bundle exec rails server -p 6287`
2012-08-28T05:57:27+00:00 app[web.1]: => Rails 3.2.3 application starting in production on http://0.0.0.0:6287
2012-08-28T05:57:27+00:00 app[web.1]: => Ctrl-C to shutdown server
2012-08-28T05:57:27+00:00 app[web.1]: Exiting
2012-08-28T05:57:27+00:00 app[web.1]: => Booting WEBrick
2012-08-28T05:57:27+00:00 app[web.1]: from /app/app/models/project.rb:1:in `<top (required)>'
2012-08-28T05:57:27+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.3/lib/active_record/dynamic_matchers.rb:50:in `method_missing': undefined method `has_attached_file' for #<Class:0x00000003d3b3e8> (NoMethodError)
2012-08-28T05:57:27+00:00 app[web.1]: => Call with -d to detach
2012-08-28T05:57:27+00:00 app[web.1]: from /app/app/models/project.rb:4:in `<class:Project>'
2012-08-28T05:57:27+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'
2012-08-28T05:57:27+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'
2012-08-28T05:57:27+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'
2012-08-28T05:57:27+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'
2012-08-28T05:57:27+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'
2012-08-28T05:57:27+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:502:in `load_missing_constant'
2012-08-28T05:57:27+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:190:in `each'
2012-08-28T05:57:27+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:192:in `block in const_missing'
2012-08-28T05:57:27+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:190:in `const_missing'
2012-08-28T05:57:27+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.3/lib/active_support/inflector/methods.rb:229:in `block in constantize'
2012-08-28T05:57:27+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.3/lib/active_support/inflector/methods.rb:228:in `each'
2012-08-28T05:57:27+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.3/lib/active_support/inflector/methods.rb:228:in `constantize'
2012-08-28T05:57:27+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.3/lib/active_support/inflector/methods.rb:259:in `safe_constantize'
2012-08-28T05:57:27+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.3/lib/active_support/core_ext/string/inflections.rb:66:in `safe_constantize'
2012-08-28T05:57:27+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_controller/metal/params_wrapper.rb:152:in `_default_wrap_model'
2012-08-28T05:57:27+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_controller/metal/params_wrapper.rb:169:in `_set_wrapper_defaults'
2012-08-28T05:57:27+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_controller/metal/params_wrapper.rb:133:in `inherited'
2012-08-28T05:57:27+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/abstract_controller/railties/routes_helpers.rb:7:in `block (2 levels) in with'
2012-08-28T05:57:27+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_controller/railties/paths.rb:7:in `block (2 levels) in with'
2012-08-28T05:57:27+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'
2012-08-28T05:57:27+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'
2012-08-28T05:57:27+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'
2012-08-28T05:57:27+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'
2012-08-28T05:57:27+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'
2012-08-28T05:57:27+00:00 app[web.1]: from /app/app/controllers/projects_controller.rb:1:in `<top (required)>'
2012-08-28T05:57:27+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'
2012-08-28T05:57:27+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'
2012-08-28T05:57:27+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!'
2012-08-28T05:57:27+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!'
2012-08-28T05:57:27+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!'
2012-08-28T05:57:27+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'
2012-08-28T05:57:27+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_dependency'
2012-08-28T05:57:27+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:Finisher>'
2012-08-28T05:57:27+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'
2012-08-28T05:57:27+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'
2012-08-28T05:57:27+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'
2012-08-28T05:57:27+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'
2012-08-28T05:57:27+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'
2012-08-28T05:57:27+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!'
2012-08-28T05:57:27+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'
2012-08-28T05:57:27+00:00 app[web.1]: from /app/config.ru:4:in `block in <main>'
2012-08-28T05:57:27+00:00 app[web.1]: from /app/config/environment.rb:5:in `<top (required)>'
2012-08-28T05:57:27+00:00 app[web.1]: from /app/config.ru:4:in `require'
2012-08-28T05:57:27+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:51:in `instance_eval'
2012-08-28T05:57:27+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:51:in `initialize'
2012-08-28T05:57:27+00:00 app[web.1]: from /app/config.ru:1:in `new'
2012-08-28T05:57:27+00:00 app[web.1]: from /app/config.ru:1:in `<main>'
2012-08-28T05:57:27+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:40:in `eval'
2012-08-28T05:57:27+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:40:in `parse_file'
2012-08-28T05:57:27+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'
2012-08-28T05:57:27+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:200:in `app'
2012-08-28T05:57:27+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:301:in `wrapped_app'
2012-08-28T05:57:27+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'
2012-08-28T05:57:27+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:252:in `start'
2012-08-28T05:57:27+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)>'
2012-08-28T05:57:27+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'
2012-08-28T05:57:27+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)>'
2012-08-28T05:57:27+00:00 app[web.1]: from script/rails:6:in `<main>'
2012-08-28T05:57:27+00:00 app[web.1]: from script/rails:6:in `require'
2012-08-28T05:57:28+00:00 heroku[web.1]: Process exited with status 1
2012-08-28T05:57:28+00:00 heroku[web.1]: State changed from starting to crashed
2012-08-28T05:57:38+00:00 heroku[router]: Error H10 (App crashed) -> GET floating-sierra-9248.herokuapp.com/ dyno= queue= wait= service= status=503 bytes=
2012-08-28T05:57:38+00:00 heroku[router]: Error H10 (App crashed) -> GET floating-sierra- 9248.herokuapp.com/favicon.ico dyno= queue= wait= service= status=503 bytes=
I had to remove part of the logs for it to format right and be readable, its a deprecation warning
2012-08-28T05:57:24+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 <top (required)> at /app/config/environment.rb:5)
(called from at /app/config/environment.rb:5)
Environment.rb
# Load the rails application
require File.expand_path('../application', __FILE__)
# Initialize the rails application
Blog::Application.initialize!
I believe the problem is in this line of the log:
2012-08-28T05:57:27+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.3/lib/active_record/dynamic_matchers.rb:50:in `method_missing': undefined method `has_attached_file' for #<Class:0x00000003d3b3e8> (NoMethodError)
Maybe the gem that you use to manipulate uploads and files is not installed. And remember that you can't use this gem without uploading your files to another server.
My app works perfectly locally but on deployment it crashes. My Heroku log is below, i've already fixed a few issues but am now struggling to find the culprit. I'm aware of the Devise warnings, however, I can't see these being the cause....
Can anyone spot the offending error?
2012-04-13T09:10:48+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.2/lib/rails/initializable.rb:55:in `block in run_initializers'
2012-04-13T09:10:48+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.2/lib/rails/initializable.rb:54:in `each'
2012-04-13T09:10:48+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.2/lib/rails/initializable.rb:54:in `run_initializers'
2012-04-13T09:10:48+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.2/lib/rails/application.rb:96:in `initialize!'
2012-04-13T09:10:48+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.2/lib/rails/railtie/configurable.rb:30:in `method_missing'
2012-04-13T09:10:48+00:00 app[web.1]: from /app/config/environment.rb:5:in `<top (required)>'
2012-04-13T09:10:48+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.2/lib/active_support/dependencies.rb:240:in `require'
2012-04-13T09:10:48+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.2/lib/active_support/dependencies.rb:240:in `block in require'
2012-04-13T09:10:48+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.2/lib/active_support/dependencies.rb:223:in `block in load_dependency'
2012-04-13T09:10:48+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.2/lib/active_support/dependencies.rb:640:in `new_constants_in'
2012-04-13T09:10:48+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.2/lib/active_support/dependencies.rb:223:in `load_dependency'
2012-04-13T09:10:48+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.2/lib/active_support/dependencies.rb:240:in `require'
2012-04-13T09:10:48+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.3.5/lib/rack/builder.rb:51:in `instance_eval'
2012-04-13T09:10:48+00:00 app[web.1]: from /app/config.ru:4:in `block in <main>'
2012-04-13T09:10:48+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.3.5/lib/rack/builder.rb:51:in `initialize'
2012-04-13T09:10:48+00:00 app[web.1]: from /app/config.ru:1:in `<main>'
2012-04-13T09:10:48+00:00 app[web.1]: from /app/config.ru:1:in `new'
2012-04-13T09:10:48+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.3.5/lib/rack/builder.rb:40:in `eval'
2012-04-13T09:10:48+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.3.5/lib/rack/builder.rb:40:in `parse_file'
2012-04-13T09:10:48+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.3.5/lib/rack/server.rb:200:in `app'
2012-04-13T09:10:48+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.2/lib/rails/commands/server.rb:46:in `app'
2012-04-13T09:10:48+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.3.5/lib/rack/server.rb:301:in `wrapped_app'
2012-04-13T09:10:48+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.3.5/lib/rack/server.rb:252:in `start'
2012-04-13T09:10:48+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.2/lib/rails/commands/server.rb:70:in `start'
2012-04-13T09:10:48+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.2/lib/rails/commands.rb:54:in `block in <top (required)>'
2012-04-13T09:10:48+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.2/lib/rails/commands.rb:49:in `tap'
2012-04-13T09:10:48+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.2/lib/rails/commands.rb:49:in `<top (required)>'
2012-04-13T09:10:48+00:00 app[web.1]: from script/rails:6:in `require'
2012-04-13T09:10:48+00:00 app[web.1]: from script/rails:6:in `<main>'
2012-04-13T09:10:49+00:00 heroku[web.1]: Process exited with status 1
2012-04-13T09:10:49+00:00 heroku[web.1]: State changed from starting to crashed
2012-04-13T09:10:49+00:00 heroku[web.1]: State changed from crashed to created
2012-04-13T09:10:49+00:00 heroku[web.1]: State changed from created to starting
2012-04-13T09:10:58+00:00 heroku[web.1]: Starting process with command `bundle exec rails server -p 48016`
2012-04-13T09:11:08+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_dispatch/http/mime_type.rb:101: warning: already initialized constant PDF
2012-04-13T09:11:08+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_dispatch/http/mime_type.rb:101: warning: already initialized constant PDF
2012-04-13T09:11:09+00:00 app[web.1]:
2012-04-13T09:11:09+00:00 app[web.1]: [DEVISE] Devise.case_insensitive_keys is false which is no longer supported. If you want to continue running on this mode, please ensure you are not using validatable (you can copy the validations directly to your model) and set case_insensitive_keys to an empty array.
2012-04-13T09:11:09+00:00 app[web.1]:
2012-04-13T09:11:09+00:00 app[web.1]: [DEVISE] Devise.use_salt_as_remember_token is false which is no longer supported. Devise now only uses the salt as remember token and the remember_token column can be removed from your models.
2012-04-13T09:11:09+00:00 app[web.1]:
2012-04-13T09:11:09+00:00 app[web.1]:
2012-04-13T09:11:09+00:00 app[web.1]:
2012-04-13T09:11:09+00:00 app[web.1]: [DEVISE] Devise.reset_password_within is nil. Please set this value to an interval (for example, 6.hours) and add a reset_password_sent_at field to your Devise models (if they don't have one already).
2012-04-13T09:11:09+00:00 app[web.1]:
2012-04-13T09:11:13+00:00 app[web.1]: => Booting WEBrick
2012-04-13T09:11:13+00:00 app[web.1]: => Rails 3.1.2 application starting in production on http://0.0.0.0:48016
2012-04-13T09:11:13+00:00 app[web.1]: => Call with -d to detach
2012-04-13T09:11:13+00:00 app[web.1]: => Ctrl-C to shutdown server
2012-04-13T09:11:13+00:00 app[web.1]: Exiting
2012-04-13T09:11:13+00:00 app[web.1]: from /app/app/models/press.rb:1:in `<top (required)>'
2012-04-13T09:11:13+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.1.2/lib/active_record/base.rb:1088:in `method_missing': undefined method `to' for #<Class:0x00000005f87690> (NoMethodError)
2012-04-13T09:11:13+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.2/lib/active_support/dependencies.rb:225:in `load_dependency'
2012-04-13T09:11:13+00:00 app[web.1]: from /app/app/models/press.rb:2:in `<class:Press>'
2012-04-13T09:11:13+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.2/lib/active_support/dependencies.rb:240:in `require'
2012-04-13T09:11:13+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.2/lib/active_support/dependencies.rb:240:in `block in require'
2012-04-13T09:11:13+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.2/lib/active_support/dependencies.rb:240:in `require'
2012-04-13T09:11:13+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.2/lib/active_support/dependencies.rb:348:in `require_or_load'
2012-04-13T09:11:13+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.2/lib/active_support/dependencies.rb:302:in `depend_on'
2012-04-13T09:11:13+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.2/lib/active_support/dependencies.rb:214:in `require_dependency'
2012-04-13T09:11:13+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.2/lib/rails/engine.rb:417:in `block (2 levels) in eager_load!'
2012-04-13T09:11:13+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.2/lib/rails/engine.rb:416:in `each'
2012-04-13T09:11:13+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.2/lib/rails/engine.rb:416:in `block in eager_load!'
2012-04-13T09:11:13+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.2/lib/rails/engine.rb:414:in `each'
2012-04-13T09:11:13+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.2/lib/rails/engine.rb:414:in `eager_load!'
2012-04-13T09:11:13+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.2/lib/rails/application/finisher.rb:51:in `block in <module:Finisher>'
2012-04-13T09:11:13+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.2/lib/rails/initializable.rb:30:in `instance_exec'
2012-04-13T09:11:13+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.2/lib/rails/initializable.rb:30:in `run'
2012-04-13T09:11:13+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.2/lib/rails/initializable.rb:55:in `block in run_initializers'
2012-04-13T09:11:13+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.2/lib/rails/initializable.rb:54:in `each'
2012-04-13T09:11:13+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.2/lib/rails/initializable.rb:54:in `run_initializers'
2012-04-13T09:11:13+00:00 app[web.1]: from /app/config/environment.rb:5:in `<top (required)>'
2012-04-13T09:11:13+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.2/lib/rails/application.rb:96:in `initialize!'
2012-04-13T09:11:13+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.2/lib/active_support/dependencies.rb:240:in `require'
2012-04-13T09:11:13+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.2/lib/rails/railtie/configurable.rb:30:in `method_missing'
2012-04-13T09:11:13+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.2/lib/active_support/dependencies.rb:240:in `block in require'
2012-04-13T09:11:13+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.2/lib/active_support/dependencies.rb:223:in `block in load_dependency'
2012-04-13T09:11:13+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.2/lib/active_support/dependencies.rb:640:in `new_constants_in'
2012-04-13T09:11:13+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.2/lib/active_support/dependencies.rb:223:in `load_dependency'
2012-04-13T09:11:13+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.2/lib/active_support/dependencies.rb:240:in `require'
2012-04-13T09:11:13+00:00 app[web.1]: from /app/config.ru:4:in `block in <main>'
2012-04-13T09:11:13+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.3.5/lib/rack/builder.rb:51:in `instance_eval'
2012-04-13T09:11:13+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.3.5/lib/rack/builder.rb:51:in `initialize'
2012-04-13T09:11:13+00:00 app[web.1]: from /app/config.ru:1:in `new'
2012-04-13T09:11:13+00:00 app[web.1]: from /app/config.ru:1:in `<main>'
2012-04-13T09:11:13+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.3.5/lib/rack/builder.rb:40:in `eval'
2012-04-13T09:11:13+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.3.5/lib/rack/builder.rb:40:in `parse_file'
2012-04-13T09:11:13+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.3.5/lib/rack/server.rb:200:in `app'
2012-04-13T09:11:13+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.2/lib/rails/commands/server.rb:46:in `app'
2012-04-13T09:11:13+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.3.5/lib/rack/server.rb:301:in `wrapped_app'
2012-04-13T09:11:13+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.3.5/lib/rack/server.rb:252:in `start'
2012-04-13T09:11:13+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.2/lib/rails/commands/server.rb:70:in `start'
2012-04-13T09:11:13+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.2/lib/rails/commands.rb:54:in `block in <top (required)>'
2012-04-13T09:11:13+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.2/lib/rails/commands.rb:49:in `tap'
2012-04-13T09:11:13+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.2/lib/rails/commands.rb:49:in `<top (required)>'
2012-04-13T09:11:13+00:00 app[web.1]: from script/rails:6:in `require'
2012-04-13T09:11:13+00:00 app[web.1]: from script/rails:6:in `<main>'
2012-04-13T09:11:14+00:00 heroku[web.1]: Process exited with status 1
2012-04-13T09:11:14+00:00 heroku[web.1]: State changed from starting to crashed
2012-04-13T09:11:17+00:00 heroku[router]: Error H10 (App crashed) -> GET gentle-lightning-5246.herokuapp.com/ dyno= queue= wait= service= status=503 bytes=
You need to add config.assets.initialize_on_precompile = false in config/application.rb. It doesn't work in config/environments/production.rb
Anybody can help? I'm pasting the log from heroku logs
Under development everything works fine as usual, when I upload it to heroku it crashes. I don't know why, I can't fix it despite all the solutions found in web.
MacBook-Pro-Maciej-Simm:SGHub maciejsimm$ heroku logs
2012-01-06T03:20:30+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:302:in
`depend_on'
2012-01-06T03:20:30+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in
`require'
2012-01-06T03:20:30+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.3/lib/rails/railtie/configurable.rb:30:in `method
_missing'
2012-01-06T03:20:30+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.3/lib/rails/initializable.rb:30:in `instance_exec
'
2012-01-06T03:20:30+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.3/lib/rails/initializable.rb:55:in `block in run_
initializers'
2012-01-06T03:20:30+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.3/lib/rails/initializable.rb:30:in `run'
2012-01-06T03:20:30+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.3/lib/rails/initializable.rb:54:in `run_initializ
ers'
2012-01-06T03:20:30+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.3/lib/rails/initializable.rb:54:in `each'
2012-01-06T03:20:30+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.3/lib/rails/application.rb:96:in `initialize!'
2012-01-06T03:20:30+00:00 app[web.1]: from /app/config/environment.rb:5:in `<top (required)>'
2012-01-06T03:20:30+00:00 app[web.1]: from /app/config.ru:4:in `require'
2012-01-06T03:20:30+00:00 app[web.1]: from /app/config.ru:4:in `block in <main>'
2012-01-06T03:20:30+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.3.6/lib/rack/builder.rb:51:in `instance_eval'
2012-01-06T03:20:30+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.3.6/lib/rack/builder.rb:40:in `parse_file'
2012-01-06T03:20:30+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.3.6/lib/rack/server.rb:200:in `app'
2012-01-06T03:20:30+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.3/lib/rails/commands/server.rb:46:in `app'
2012-01-06T03:20:30+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.3.6/lib/rack/server.rb:301:in `wrapped_app'
2012-01-06T03:20:30+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.3/lib/rails/commands/server.rb:70:in `start'
2012-01-06T03:20:30+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.3/lib/rails/commands.rb:54:in `block in <top (req
uired)>'
2012-01-06T03:20:30+00:00 app[web.1]: from /app/config.ru:1:in `<main>'
2012-01-06T03:20:30+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.3.6/lib/rack/builder.rb:51:in `initialize'
2012-01-06T03:20:30+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.3/lib/rails/commands.rb:49:in `tap'
2012-01-06T03:20:30+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.3/lib/rails/commands.rb:49:in `<top (required)>'
2012-01-06T03:20:30+00:00 app[web.1]: from script/rails:6:in `require'
2012-01-06T03:20:30+00:00 app[web.1]: from script/rails:6:in `<main>'
2012-01-06T03:20:30+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.3.6/lib/rack/builder.rb:40:in `eval'
2012-01-06T03:20:30+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.3.6/lib/rack/server.rb:252:in `start'
2012-01-06T03:20:30+00:00 app[web.1]: from /app/config.ru:1:in `new'
2012-01-06T03:20:31+00:00 heroku[web.1]: State changed from starting to crashed
2012-01-06T03:20:31+00:00 heroku[web.1]: State changed from crashed to created
2012-01-06T03:20:31+00:00 heroku[web.1]: State changed from created to starting
2012-01-06T03:20:32+00:00 heroku[web.1]: Process exited
2012-01-06T03:20:36+00:00 heroku[web.1]: Starting process with command `bundle exec rails server -p 33719`
2012-01-06T03:20:41+00:00 app[web.1]: => Booting WEBrick
2012-01-06T03:20:41+00:00 app[web.1]: => Rails 3.1.3 application starting in production on http://0.0.0.0:33719
2012-01-06T03:20:41+00:00 app[web.1]: Exiting
2012-01-06T03:20:41+00:00 app[web.1]: /app/app/helpers/sessions_helper.rb:34: invalid multibyte char (US-ASCII)
2012-01-06T03:20:41+00:00 app[web.1]: /app/app/helpers/sessions_helper.rb:34: syntax error, unexpected $end, expecting keyword_end
2012-01-06T03:20:41+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in `requir
e': /app/app/helpers/sessions_helper.rb:34: invalid multibyte char (US-ASCII) (SyntaxError)
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in
`block in require'
2012-01-06T03:20:41+00:00 app[web.1]: => Ctrl-C to shutdown server
2012-01-06T03:20:41+00:00 app[web.1]: ..._path, :notice => "Zaloguj się aby zobaczyć tą stronę"
2012-01-06T03:20:41+00:00 app[web.1]: ... ^
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:225:in
`load_dependency'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in
`require'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:302:in
`depend_on'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.3/lib/abstract_controller/helpers.rb:135:in `bl
ock in modules_for_helpers'
2012-01-06T03:20:41+00:00 app[web.1]: => Call with -d to detach
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:214:in
`require_dependency'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.3/lib/abstract_controller/helpers.rb:131:in `mo
dules_for_helpers'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.3/lib/abstract_controller/helpers.rb:95:in `hel
per'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.3/lib/action_controller/railties/paths.rb:17:in
`block (2 levels) in with'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/app/controllers/application_controller.rb:1:in `<top (required)>'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.3/lib/action_controller/metal/helpers.rb:89:in
`modules_for_helpers'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.3/lib/abstract_controller/helpers.rb:131:in `ma
p!'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:348:in
`require_or_load'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:214:in
`require_dependency'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:348:in
`require_or_load'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:225:in
`load_dependency'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in
`block in require'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in
`require'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:302:in
`depend_on'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in
`require'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.3/lib/rails/application/finisher.rb:51:in `block
in <module:Finisher>'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.3/lib/rails/engine.rb:414:in `each'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.3/lib/rails/engine.rb:417:in `block (2 levels) in
eager_load!'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.3/lib/rails/engine.rb:416:in `each'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.3/lib/rails/engine.rb:416:in `block in eager_load
!'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.3/lib/rails/initializable.rb:30:in `run'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.3/lib/rails/initializable.rb:55:in `block in run_
initializers'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.3/lib/rails/application.rb:96:in `initialize!'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.3/lib/rails/initializable.rb:54:in `each'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.3/lib/rails/initializable.rb:30:in `instance_exec
'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.3/lib/rails/railtie/configurable.rb:30:in `method
_missing'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.3/lib/rails/engine.rb:414:in `eager_load!'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/config/environment.rb:5:in `<top (required)>'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/config.ru:4:in `require'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.3.6/lib/rack/builder.rb:51:in `instance_eval'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/config.ru:1:in `new'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/config.ru:4:in `block in <main>'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.3.6/lib/rack/builder.rb:40:in `eval'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/config.ru:1:in `<main>'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.3.6/lib/rack/server.rb:200:in `app'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.3.6/lib/rack/server.rb:252:in `start'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.3/lib/rails/commands/server.rb:70:in `start'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.3/lib/rails/commands/server.rb:46:in `app'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.3/lib/rails/initializable.rb:54:in `run_initializ
ers'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.3.6/lib/rack/builder.rb:40:in `parse_file'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.3/lib/rails/commands.rb:54:in `block in <top (req
uired)>'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.3.6/lib/rack/builder.rb:51:in `initialize'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.3/lib/rails/commands.rb:49:in `<top (required)>'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.3.6/lib/rack/server.rb:301:in `wrapped_app'
2012-01-06T03:20:41+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.3/lib/rails/commands.rb:49:in `tap'
2012-01-06T03:20:41+00:00 app[web.1]: from script/rails:6:in `require'
2012-01-06T03:20:41+00:00 app[web.1]: from script/rails:6:in `<main>'
2012-01-06T03:20:43+00:00 heroku[web.1]: State changed from starting to crashed
2012-01-06T03:20:43+00:00 heroku[web.1]: Process exited
2012-01-06T03:20:45+00:00 heroku[router]: Error H10 (App crashed) -> GET afternoon-earth-4144.herokuapp.com/ dyno= queue= wait= service= statu
s=503 bytes=
2012-01-06T03:20:46+00:00 heroku[router]: Error H10 (App crashed) -> GET afternoon-earth-4144.herokuapp.com/favicon.ico dyno= queue= wait= ser
vice= status=503 bytes=
2012-01-06T03:20:51+00:00 heroku[router]: Error H10 (App crashed) -> GET afternoon-earth-4144.herokuapp.com/ dyno= queue= wait= service= statu
s=503 bytes=
MacBook-Pro-Maciej-Simm:SGHub maciejsimm$
The problem seems to be right here:
/app/app/helpers/sessions_helper.rb:34: invalid multibyte char (US-ASCII)
...
..._path, :notice => "Zaloguj się aby zobaczyć tą stronę"
^
Note the "US-ASCII" in the error. I'm guessing that your source is actually UTF-8 so try adding this comment:
# encoding: UTF-8
at the top of app/helpers/sessions_helper.rb. That will tell Ruby that that source file is UTF-8. You'll probably need that in other source files as well.
An alternative would be to set your language at Heroku to something UTF:
$ heroku config:add LANG=pl_PL.UTF-8
I'm not sure if Heroku will be happy with Polish so you might need to use en_US.UTF-8 instead.
I'm doing the railstutorial by mike hartl and so far it's going well. How ever I'm stuck on lesson 7 conclusion.
I have basically got everything working, all rsync tests are passing and everything is working. I commit and push to GIT then push to heroko.
I use heroku open to open my app and the page that comes up gives me application error: An error occurred in the application and your page could not be served. Please try again in a few moments.
If you are the application owner, check your logs for details.
Here are my heroku logs:
[sample_app (master)]$ heroku logs
2011-07-08T12:08:04+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.9/lib/rails/application.rb:108:in `eager_load!'
2011-07-08T12:08:04+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.9/lib/rails/application/finisher.rb:41:in `block in <module:Finisher>'
2011-07-08T12:08:04+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.9/lib/rails/initializable.rb:25:in `instance_exec'
2011-07-08T12:08:04+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.9/lib/rails/initializable.rb:25:in `run'
2011-07-08T12:08:04+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.9/lib/rails/initializable.rb:50:in `block in run_initializers'
2011-07-08T12:08:04+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.9/lib/rails/initializable.rb:49:in `each'
2011-07-08T12:08:04+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.9/lib/rails/initializable.rb:49:in `run_initializers'
2011-07-08T12:08:04+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.9/lib/rails/application.rb:134:in `initialize!'
2011-07-08T12:08:04+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.9/lib/rails/application.rb:77:in `method_missing'
2011-07-08T12:08:04+00:00 app[web.1]: from /app/config/environment.rb:5:in `<top (required)>'
2011-07-08T12:08:04+00:00 app[web.1]: from <internal:lib/rubygems/custom_require>:29:in `require'
2011-07-08T12:08:04+00:00 app[web.1]: from <internal:lib/rubygems/custom_require>:29:in `require'
2011-07-08T12:08:04+00:00 app[web.1]: from config.ru:3:in `block (3 levels) in <main>'
2011-07-08T12:08:04+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:23:in `ev
2011-07-08T12:08:04+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:18:in `block (2 levels) in <main>'
2011-07-08T12:08:04+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.2.3/lib/rack/builder.rb:46:in `instance_eval'
2011-07-08T12:08:04+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.2.3/lib/rack/builder.rb:46:in `initialize'
2011-07-08T12:08:04+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:11:in `new'
2011-07-08T12:08:04+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:11:in `block in <main>'
2011-07-08T12:08:04+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.2.3/lib/rack/builder.rb:46:in `instance_eval'
2011-07-08T12:08:04+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.2.3/lib/rack/builder.rb:46:in `initialize'
2011-07-08T12:08:04+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:1:in `new'
2011-07-08T12:08:04+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:1:in `<main>'
2011-07-08T12:08:04+00:00 app[web.1]: from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/rack/adapter/loader.rb:36:in `eval'
2011-07-08T12:08:04+00:00 app[web.1]: from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/rack/adapter/loader.rb:36:in `load'
2011-07-08T12:08:04+00:00 app[web.1]: from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/thin/controllers/controller.rb:175:in `load_rackup_config'
2011-07-08T12:08:04+00:00 app[web.1]: from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/thin/controllers/controller.rb:65:in `start'
2011-07-08T12:08:04+00:00 app[web.1]: from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/thin/runner.rb:177:in `run_command'
2011-07-08T12:08:04+00:00 app[web.1]: from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/thin/runner.rb:143:in `run!'
2011-07-08T12:08:04+00:00 app[web.1]: from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/bin/thin:6:in `<top (required)>'
2011-07-08T12:08:04+00:00 app[web.1]: from /usr/ruby1.9.2/bin/thin:19:in `load'
2011-07-08T12:08:04+00:00 heroku[web.1]: Process exited
2011-07-08T12:08:05+00:00 heroku[web.1]: State changed from starting to crashed
2011-07-08T12:18:20+00:00 heroku[web.1]: State changed from crashed to created
2011-07-08T12:18:20+00:00 heroku[web.1]: State changed from created to starting
2011-07-08T12:18:43+00:00 heroku[web.1]: Starting process with command: `thin -p 16326 -e production -R /home/heroku_rack/heroku.ru start`
2011-07-08T12:18:47+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:304:in `rescue in depend_on': Missing helper file helpers/factory_girl.rb (LoadError)
2011-07-08T12:18:47+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:299:in `depend_on'
2011-07-08T12:18:47+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:216:in `require_dependency'
2011-07-08T12:18:47+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.9/lib/abstract_controller/helpers.rb:148:in `block in modules_for_helpers'
2011-07-08T12:18:47+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.9/lib/abstract_controller/helpers.rb:144:in `map!'
2011-07-08T12:18:47+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.9/lib/abstract_controller/helpers.rb:144:in `modules_for_helpers'
2011-07-08T12:18:47+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.9/lib/action_controller/metal/helpers.rb:101:in `modules_for_helpers'
2011-07-08T12:18:47+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.9/lib/abstract_controller/helpers.rb:97:in `helper'
2011-07-08T12:18:47+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.9/lib/action_controller/base.rb:228:in `inherited'
2011-07-08T12:18:47+00:00 app[web.1]: from /app/app/controllers/application_controller.rb:1:in `<top (required)>'
2011-07-08T12:18:47+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:239:in `require'
2011-07-08T12:18:47+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:239:in `block in require'
2011-07-08T12:18:47+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:227:in `load_dependency'
2011-07-08T12:18:47+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:239:in `require'
2011-07-08T12:18:47+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:346:in `require_or_load'
2011-07-08T12:18:47+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:300:in `depend_on'
2011-07-08T12:18:47+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:216:in `require_dependency'
2011-07-08T12:18:47+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.9/lib/rails/engine.rb:138:in `block (2 levels) in eager_load!'
2011-07-08T12:18:47+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.9/lib/rails/engine.rb:137:in `each'
2011-07-08T12:18:47+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.9/lib/rails/engine.rb:137:in `block in eager_load!'
2011-07-08T12:18:47+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.9/lib/rails/engine.rb:135:in `each'
2011-07-08T12:18:47+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.9/lib/rails/engine.rb:135:in `eager_load!'
2011-07-08T12:18:47+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.9/lib/rails/application.rb:108:in `eager_load!'
2011-07-08T12:18:47+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.9/lib/rails/application/finisher.rb:41:in `block in <module:Finisher>'
2011-07-08T12:18:47+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.9/lib/rails/initializable.rb:25:in `instance_exec'
2011-07-08T12:18:47+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.9/lib/rails/initializable.rb:25:in `run'
2011-07-08T12:18:47+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.9/lib/rails/initializable.rb:50:in `block in run_initializers'
2011-07-08T12:18:47+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.9/lib/rails/initializable.rb:49:in `each'
2011-07-08T12:18:47+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.2.3/lib/rack/builder.rb:46:in `instance_eval'
2011-07-08T12:18:47+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.2.3/lib/rack/builder.rb:46:in `initialize'
2011-07-08T12:18:47+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:11:in `new'
2011-07-08T12:18:47+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:11:in `block in <main>'
2011-07-08T12:18:47+00:00 heroku[web.1]: Process exited
2011-07-08T12:18:47+00:00 heroku[web.1]: State changed from starting to crashed
2011-07-08T12:28:34+00:00 heroku[web.1]: State changed from crashed to created
2011-07-08T12:28:34+00:00 heroku[web.1]: State changed from created to starting
2011-07-08T12:28:46+00:00 heroku[web.1]: Starting process with command: `thin -p 51125 -e production -R /home/heroku_rack/heroku.ru start`
2011-07-08T12:28:49+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:304:in `rescue in depend_on': No such file to load -- factory_girl (LoadError)
2011-07-08T12:28:49+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:299:in `depend_on'
2011-07-08T12:28:49+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:216:in `require_dependency'
2011-07-08T12:28:49+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.9/lib/rails/engine.rb:138:in `block (2 levels) in eager_load!'
2011-07-08T12:28:49+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.9/lib/rails/engine.rb:137:in `each'
2011-07-08T12:28:49+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.9/lib/rails/engine.rb:135:in `each'
2011-07-08T12:28:49+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.9/lib/rails/engine.rb:135:in `eager_load!'
2011-07-08T12:28:49+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.9/lib/rails/application.rb:108:in `eager_load!'
2011-07-08T12:28:49+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.9/lib/rails/application/finisher.rb:41:in `block in <module:Finisher>'
2011-07-08T12:28:49+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.9/lib/rails/initializable.rb:25:in `instance_exec'
2011-07-08T12:28:49+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.9/lib/rails/initializable.rb:25:in `run'
2011-07-08T12:28:49+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.9/lib/rails/initializable.rb:50:in `block in run_initializers'
2011-07-08T12:28:49+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.9/lib/rails/initializable.rb:49:in `each'
2011-07-08T12:28:49+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.9/lib/rails/initializable.rb:49:in `run_initializers'
2011-07-08T12:28:49+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.9/lib/rails/application.rb:134:in `initialize!'
2011-07-08T12:28:49+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.9/lib/rails/application.rb:77:in `method_missing'
2011-07-08T12:28:49+00:00 app[web.1]: from /app/config/environment.rb:5:in `<top (required)>'
2011-07-08T12:28:49+00:00 app[web.1]: from <internal:lib/rubygems/custom_require>:29:in `require'
2011-07-08T12:28:49+00:00 app[web.1]: from <internal:lib/rubygems/custom_require>:29:in `require'
2011-07-08T12:28:49+00:00 app[web.1]: from config.ru:3:in `block (3 levels) in <main>'
2011-07-08T12:28:49+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:23:in `eval'
2011-07-08T12:28:49+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:23:in `block (3 levels) in <main>'
2011-07-08T12:28:49+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.2.3/lib/rack/builder.rb:46:in `instance_eval'
2011-07-08T12:28:49+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.2.3/lib/rack/builder.rb:46:in `initialize'
2011-07-08T12:28:49+00:00 heroku[web.1]: Process exited
2011-07-08T12:28:50+00:00 heroku[web.1]: State changed from starting to crashed
Are you sure you have your factory_girl.rb in the helpers directory? Is your Gemfile up2date?
It may be possible it's not tracked yet, thus your push ignored it.