Heroku - Error H10 (App crashed) Ruby on rails -
no idea im doing wrong. app works fine locally, keep getting application error page , h10 error. ill post rails console output because read more useful heroku logs, can put here if needed. hope not going ignored @ total lose right now.
rails console:
running `rails console` attached terminal... up, run.8093 /app/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.1/lib/active_record/dynamic_ matchers.rb:26:in `method_missing': undefined local variable or method `request' session (call 'session.connection' establish connection):class (nameer ror) /app/app/models/session.rb:3:in `<class:session>' /app/app/models/session.rb:1:in `<top (required)>' /app/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_s upport/dependencies.rb:274:in `require' /app/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_s upport/dependencies.rb:274:in `block in require' /app/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_s upport/dependencies.rb:240:in `load_dependency' /app/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_s upport/dependencies.rb:274:in `require' /app/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_s upport/dependencies.rb:360:in `require_or_load' /app/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_s upport/dependencies.rb:317:in `depend_on' /app/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_s upport/dependencies.rb:233:in `require_dependency' /app/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/engine. rb:472:in `block (2 levels) in eager_load!' /app/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/engine. rb:471:in `each' /app/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/engine. rb:471:in `block in eager_load!' /app/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/engine. rb:469:in `each' /app/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/engine. rb:469:in `eager_load!' /app/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/engine. rb:346:in `eager_load!' /app/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/applica tion/finisher.rb:56:in `each' /app/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/applica tion/finisher.rb:56:in `block in <module:finisher>' /app/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/initial izable.rb:30:in `instance_exec' /app/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/initial izable.rb:30:in `run' /app/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/initial izable.rb:55:in `block in run_initializers' /app/vendor/ruby-2.1.5/lib/ruby/2.1.0/tsort.rb:226:in `block in tso rt_each' /app/vendor/ruby-2.1.5/lib/ruby/2.1.0/tsort.rb:348:in `block (2 lev els) in each_strongly_connected_component' /app/vendor/ruby-2.1.5/lib/ruby/2.1.0/tsort.rb:427:in `each_strongl y_connected_component_from' /app/vendor/ruby-2.1.5/lib/ruby/2.1.0/tsort.rb:347:in `block in eac h_strongly_connected_component' /app/vendor/ruby-2.1.5/lib/ruby/2.1.0/tsort.rb:345:in `each' /app/vendor/ruby-2.1.5/lib/ruby/2.1.0/tsort.rb:345:in `call' /app/vendor/ruby-2.1.5/lib/ruby/2.1.0/tsort.rb:345:in `each_strongl y_connected_component' /app/vendor/ruby-2.1.5/lib/ruby/2.1.0/tsort.rb:224:in `tsort_each' /app/vendor/ruby-2.1.5/lib/ruby/2.1.0/tsort.rb:205:in `tsort_each' /app/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/initial izable.rb:54:in `run_initializers' /app/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/applica tion.rb:352:in `initialize!' /app/config/environment.rb:5:in `<top (required)>' /app/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_s upport/dependencies.rb:274:in `require' /app/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_s upport/dependencies.rb:274:in `block in require' /app/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_s upport/dependencies.rb:240:in `load_dependency' /app/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_s upport/dependencies.rb:274:in `require' /app/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/applica tion.rb:328:in `require_environment!' /app/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/command s/commands_tasks.rb:142:in `require_application_and_environment!' /app/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/command s/commands_tasks.rb:67:in `console' /app/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/command s/commands_tasks.rb:39:in `run_command!' /app/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/command s.rb:17:in `<top (required)>' /app/bin/rails:4:in `require' /app/bin/rails:4:in `<main>'
heroku logs:
2015-07-05t20:21:38.932369+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:240:in `load_depe ndency' 2015-07-05t20:21:38.932388+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `require' 2015-07-05t20:21:38.932407+00:00 app[web.1]: /app/config.ru:3:in `block in <main>' 2015-07-05t20:21:38.932426+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/rack-1.6.4/lib/rack/builder.rb:55:in `instance_eval' 2015-07-05t20:21:38.932465+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/rack-1.6.4/lib/rack/builder.rb:55:in `initialize' 2015-07-05t20:21:38.932485+00:00 app[web.1]: /app/config.ru:in `new' 2015-07-05t20:21:38.932542+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/rack-1.6.4/lib/rack/builder.rb:49:in `new_from_string' 2015-07-05t20:21:38.932504+00:00 app[web.1]: /app/config.ru:in `<main>' 2015-07-05t20:21:38.932523+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/rack-1.6.4/lib/rack/builder.rb:49:in `eval' 2015-07-05t20:21:38.932610+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/rack-1.6.4/lib/rack/server.rb:299:in `build_app_and_options_from_config' 2015-07-05t20:21:38.932579+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/rack-1.6.4/lib/rack/builder.rb:40:in `parse_file' 2015-07-05t20:21:38.932629+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/rack-1.6.4/lib/rack/server.rb:208:in `app' 2015-07-05t20:21:38.932648+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/railties-4.2.1/lib/rails/commands/server.rb:61:in `app' 2015-07-05t20:21:38.932735+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/rack-1.6.4/lib/rack/server.rb:272:in `start' 2015-07-05t20:21:38.932675+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/rack-1.6.4/lib/rack/server.rb:336:in `wrapped_app' 2015-07-05t20:21:38.932755+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/railties-4.2.1/lib/rails/commands/server.rb:80:in `start' 2015-07-05t20:21:38.932839+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/railties-4.2.1/lib/rails/commands/commands_tasks.rb:75:in `tap' 2015-07-05t20:21:38.932774+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/railties-4.2.1/lib/rails/commands/commands_tasks.rb:80:in `block in serv er' 2015-07-05t20:21:38.932859+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/railties-4.2.1/lib/rails/commands/commands_tasks.rb:75:in `server' 2015-07-05t20:21:38.932878+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/railties-4.2.1/lib/rails/commands/commands_tasks.rb:39:in `run_command!' 2015-07-05t20:21:38.932897+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/railties-4.2.1/lib/rails/commands.rb:17:in `<top (required)>' 2015-07-05t20:21:38.932931+00:00 app[web.1]: bin/rails:4:in `require' 2015-07-05t20:21:38.932951+00:00 app[web.1]: bin/rails:4:in `<main>' 2015-07-05t20:21:39.917826+00:00 heroku[web.1]: state changed starting c rashed 2015-07-05t20:21:39.919080+00:00 heroku[web.1]: state changed crashed st arting 2015-07-05t20:21:39.901026+00:00 heroku[web.1]: process exited status 1 2015-07-05t20:21:44.803632+00:00 heroku[web.1]: starting process command `b in/rails server -p 4674 -e production` 2015-07-05t20:21:50.648458+00:00 app[web.1]: => booting webrick 2015-07-05t20:21:50.648478+00:00 app[web.1]: => rails 4.2.1 application starting in production on http://0.0.0.0:4674 2015-07-05t20:21:50.648480+00:00 app[web.1]: => run `rails server -h` more s tartup options 2015-07-05t20:21:50.648481+00:00 app[web.1]: => ctrl-c shutdown server 2015-07-05t20:21:50.648482+00:00 app[web.1]: exiting 2015-07-05t20:21:50.648756+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1.0/gems/ activerecord-4.2.1/lib/active_record/dynamic_matchers.rb:26:in `method_missing': undefined local variable or method `request' session (call 'session.connect ion' establish connection):class (nameerror) 2015-07-05t20:21:50.648758+00:00 app[web.1]: /app/app/models/session.rb: 3:in `<class:session>' 2015-07-05t20:21:50.648762+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `require' 2015-07-05t20:21:50.648763+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `block in require' 2015-07-05t20:21:50.648760+00:00 app[web.1]: /app/app/models/session.rb: 1:in `<top (required)>' 2015-07-05t20:21:50.648766+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `require' 2015-07-05t20:21:50.648764+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:240:in `load_depe ndency' 2015-07-05t20:21:50.648771+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/railties-4.2.1/lib/rails/engine.rb:472:in `block (2 levels) in eager_loa d!' 2015-07-05t20:21:50.648767+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:360:in `require_o r_load' 2015-07-05t20:21:50.648768+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:317:in `depend_on ' 2015-07-05t20:21:50.648770+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:233:in `require_d ependency' 2015-07-05t20:21:50.648773+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/railties-4.2.1/lib/rails/engine.rb:471:in `each' 2015-07-05t20:21:50.648775+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/railties-4.2.1/lib/rails/engine.rb:471:in `block in eager_load!' 2015-07-05t20:21:50.648776+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/railties-4.2.1/lib/rails/engine.rb:469:in `each' 2015-07-05t20:21:50.648779+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/railties-4.2.1/lib/rails/engine.rb:346:in `eager_load!' 2015-07-05t20:21:50.648782+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/railties-4.2.1/lib/rails/application/finisher.rb:56:in `block in <module :finisher>' 2015-07-05t20:21:50.648778+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/railties-4.2.1/lib/rails/engine.rb:469:in `eager_load!' 2015-07-05t20:21:50.648784+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/railties-4.2.1/lib/rails/initializable.rb:30:in `run' 2015-07-05t20:21:50.648781+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/railties-4.2.1/lib/rails/application/finisher.rb:56:in `each' 2015-07-05t20:21:50.648783+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/railties-4.2.1/lib/rails/initializable.rb:30:in `instance_exec' 2015-07-05t20:21:50.648788+00:00 app[web.1]: /app/vendor/ruby-2.1.5/lib/ ruby/2.1.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_componen t' 2015-07-05t20:21:50.648786+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/railties-4.2.1/lib/rails/initializable.rb:55:in `block in run_initialize rs' 2015-07-05t20:21:50.648787+00:00 app[web.1]: /app/vendor/ruby-2.1.5/lib/ ruby/2.1.0/tsort.rb:226:in `block in tsort_each' 2015-07-05t20:21:50.648789+00:00 app[web.1]: /app/vendor/ruby-2.1.5/lib/ ruby/2.1.0/tsort.rb:427:in `each_strongly_connected_component_from' 2015-07-05t20:21:50.648793+00:00 app[web.1]: /app/vendor/ruby-2.1.5/lib/ ruby/2.1.0/tsort.rb:345:in `call' 2015-07-05t20:21:50.648799+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/railties-4.2.1/lib/rails/initializable.rb:54:in `run_initializers' 2015-07-05t20:21:50.648790+00:00 app[web.1]: /app/vendor/ruby-2.1.5/lib/ ruby/2.1.0/tsort.rb:347:in `block in each_strongly_connected_component' 2015-07-05t20:21:50.648795+00:00 app[web.1]: /app/vendor/ruby-2.1.5/lib/ ruby/2.1.0/tsort.rb:345:in `each_strongly_connected_component' 2015-07-05t20:21:50.648792+00:00 app[web.1]: /app/vendor/ruby-2.1.5/lib/ ruby/2.1.0/tsort.rb:345:in `each' 2015-07-05t20:21:50.648796+00:00 app[web.1]: /app/vendor/ruby-2.1.5/lib/ ruby/2.1.0/tsort.rb:224:in `tsort_each' 2015-07-05t20:21:50.648798+00:00 app[web.1]: /app/vendor/ruby-2.1.5/lib/ ruby/2.1.0/tsort.rb:205:in `tsort_each' 2015-07-05t20:21:50.648803+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `require' 2015-07-05t20:21:50.648805+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:240:in `load_depe ndency' 2015-07-05t20:21:50.648804+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `block in require' 2015-07-05t20:21:50.648806+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `require' 2015-07-05t20:21:50.648815+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/rack-1.6.4/lib/rack/builder.rb:55:in `instance_eval' 2015-07-05t20:21:50.648800+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/railties-4.2.1/lib/rails/application.rb:352:in `initialize!' 2015-07-05t20:21:50.648813+00:00 app[web.1]: /app/config.ru:3:in `block in <main>' 2015-07-05t20:21:50.648801+00:00 app[web.1]: /app/config/environment.rb: 5:in `<top (required)>' 2015-07-05t20:21:50.648817+00:00 app[web.1]: /app/config.ru:in `new' 2015-07-05t20:21:50.648820+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/rack-1.6.4/lib/rack/builder.rb:49:in `eval' 2015-07-05t20:21:50.648825+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/rack-1.6.4/lib/rack/server.rb:208:in `app' 2015-07-05t20:21:50.648821+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/rack-1.6.4/lib/rack/builder.rb:49:in `new_from_string' 2015-07-05t20:21:50.648826+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/railties-4.2.1/lib/rails/commands/server.rb:61:in `app' 2015-07-05t20:21:50.648829+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/rack-1.6.4/lib/rack/server.rb:272:in `start' 2015-07-05t20:21:50.648832+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/railties-4.2.1/lib/rails/commands/commands_tasks.rb:75:in `tap' 2015-07-05t20:21:50.648816+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/rack-1.6.4/lib/rack/builder.rb:55:in `initialize' 2015-07-05t20:21:50.648839+00:00 app[web.1]: bin/rails:4:in `<main>' 2015-07-05t20:21:50.648819+00:00 app[web.1]: /app/config.ru:in `<main>' 2015-07-05t20:21:50.648823+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/rack-1.6.4/lib/rack/builder.rb:40:in `parse_file' 2015-07-05t20:21:50.648824+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/rack-1.6.4/lib/rack/server.rb:299:in `build_app_and_options_from_config' 2015-07-05t20:21:50.648828+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/rack-1.6.4/lib/rack/server.rb:336:in `wrapped_app' 2015-07-05t20:21:50.648830+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/railties-4.2.1/lib/rails/commands/server.rb:80:in `start' 2015-07-05t20:21:50.648835+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/railties-4.2.1/lib/rails/commands/commands_tasks.rb:39:in `run_command!' 2015-07-05t20:21:50.648831+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/railties-4.2.1/lib/rails/commands/commands_tasks.rb:80:in `block in serv er' 2015-07-05t20:21:50.648838+00:00 app[web.1]: bin/rails:4:in `require' 2015-07-05t20:21:50.648834+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/railties-4.2.1/lib/rails/commands/commands_tasks.rb:75:in `server' 2015-07-05t20:21:50.648837+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1 .0/gems/railties-4.2.1/lib/rails/commands.rb:17:in `<top (required)>' 2015-07-05t20:21:51.832370+00:00 heroku[web.1]: process exited status 1 2015-07-05t20:21:51.845270+00:00 heroku[web.1]: state changed starting c rashed 2015-07-05t20:23:44.683352+00:00 heroku[api]: starting process command `bun dle exec rake db:migrate` dvid1994@gmail.com 2015-07-05t20:23:49.876519+00:00 heroku[run.7443]: awaiting client 2015-07-05t20:23:49.931116+00:00 heroku[run.7443]: starting process command `bundle exec rake db:migrate` 2015-07-05t20:23:55.352150+00:00 heroku[run.7443]: process exited status 0 2015-07-05t20:23:55.365935+00:00 heroku[run.7443]: state changed comp lete 2015-07-05t20:23:50.311272+00:00 heroku[run.7443]: state changed starting t o 2015-07-05t20:25:16.824478+00:00 heroku[api]: scale web=1 dvid1994@gmail.c om 2015-07-05t20:27:09.578310+00:00 heroku[router]: at=error code=h10 desc="app cra shed" method=get path="/" host=glacial-falls-7476.herokuapp.com request_id=6a99e c01-98d6-45cf-bc2c-8ec05a0f7ab9 fwd="50.163.200.7" dyno= connect= service= statu s=503 bytes= 2015-07-05t22:28:51.659970+00:00 heroku[router]: at=error code=h10 desc="app cra shed" method=get path="/" host=glacial-falls-7476.herokuapp.com request_id=13681 1f6-73cf-4708-96a9-d48e26d61dd1 fwd="50.163.200.7" dyno= connect= service= statu s=503 bytes=
production rake:
i, [2015-07-05t16:16:54.146798 #21460] info -- : writing c:/row/dev/project/public/assets/tapedek3-4343c22664d06b029040ca2311b3fc956f7fb61b1dc8aa0beb8b1e bbe23c9e31.png i, [2015-07-05t16:16:59.754119 #21460] info -- : writing c:/row/dev/project/public/assets/application-ddbb9538bbe5eff3b50ef226fc0aa9af7da7fa937082f4ef22b 7e8c339a0bcde.js i, [2015-07-05t16:17:07.206545 #21460] info -- : writing c:/row/dev/project/public/assets/application-f0703cab74ba3b243988bfab9161553021c1568ea0daae042a2 b215f37284023.css i, [2015-07-05t16:17:07.219546 #21460] info -- : writing c:/row/dev/project/public/assets/bootstrap/glyphicons-halflings-regular-13634da87d9e23f8c3ed9108 ce1724d183a39ad072e73e1b3d8cbf646d2d0407.eot i, [2015-07-05t16:17:07.232546 #21460] info -- : writing c:/row/dev/project/public/assets/bootstrap/glyphicons-halflings-regular-42f60659d265c1a3c30f9fa4 2abcbb56bd4a53af4d83d316d6dd7a36903c43e5.svg i, [2015-07-05t16:17:07.240547 #21460] info -- : writing c:/row/dev/project/public/assets/bootstrap/glyphicons-halflings-regular-e395044093757d82afcb1389 57d06a1ea9361bdcf0b442d06a18a8051af57456.ttf i, [2015-07-05t16:17:07.245547 #21460] info -- : writing c:/row/dev/project/public/assets/bootstrap/glyphicons-halflings-regular-a26394f7ede100ca118eff2e da08596275a9839b959c226e15439557a5a80742.woff i, [2015-07-05t16:17:07.250547 #21460] info -- : writing c:/row/dev/project/public/assets/bootstrap/glyphicons-halflings-regular-fe185d11a49676890d47bb78 3312a0cda5a44c4039214094e7957b4c040ef11c.woff2
rails assets pipeline
this may take few iterations step through. first error heroku flags failed on /favicon.ico
2015-07-05t17:56:19.804219+00:00 heroku[router]: at=error code=h10 desc="app cra shed" method=get path="/favicon.ico" host=glacial-falls-7476.herokuapp.com reque st_id=091b3b97-bbab-4d13-b6a1-da24aa2b018b fwd="50.163.200.7" dyno= connect= ser vice= status=503 bytes=
what tell there asset pipeline problem, because app should looking filename below, not original filename:
href="/assets/favicon-17897c732521afcc30d49410042fc687.ico"
the favicon filename should compiled asset name. there number of steps debug this:
- did execute production rake prior deployment?
$bundle exec rake assets:precompile rails_env=production
- excellent, next step push app heroku deploy app blob assets compiled rails asset pipeline.
$heroku push
if app crashes, please post updated heroku log. if runs, woohoo. problem.
- so easy solution didn't work. , didn't compile .ico assets. means there's problem in config, it's not building app blob correctly.
aside there number of serious errors in new log.
webrick should not server running on heroku--that's red flag. know why webrick launching?
the ip looks incorrect.
rails 4.2.1 application starting in production on http://0.0.0.0:4674
everything in block needs fixed , don't think it's going easy. pushing working app development heroku typically easy, don't know setting have throwing weeds. i'd @ gemfile, production,rb, application.rb differences there "development" versus "production"
2015-07-05t20:21:50.648458+00:00 app[web.1]: => booting webrick 2015-07-05t20:21:50.648478+00:00 app[web.1]: => rails 4.2.1 application starting in production on http://0.0.0.0:4674 2015-07-05t20:21:50.648480+00:00 app[web.1]: => run `rails server -h` more s tartup options 2015-07-05t20:21:50.648481+00:00 app[web.1]: => ctrl-c shutdown server 2015-07-05t20:21:50.648482+00:00 app[web.1]: exiting 2015-07-05t20:21:50.648756+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1.0/gems/ activerecord-4.2.1/lib/active_record/dynamic_matchers.rb:26:in `method_missing': undefined local variable or method `request' session (call 'session.connect ion' establish connection):class (nameerror) 2015-07-05t20:21:50.648758+00:00 app[web.1]: /app/app/models/session.rb: 3:in `<class:session>'
i wish had one-line answer, don't. think there several deploy issues need worked, 1 @ time.
my advice scale down app, or start dummy test app , deploy in stages.
or maybe come along complete answer...
Comments
Post a Comment