RoR app crashed, logs referrencing lots of different libraries - ruby-on-rails

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?

Related

Can't deploy Rails 6 app to Heroku. ErrorLog included

I've build a Rails 6 app using React via the newly integrated Webpacker for JS and can't seem to get over the final hurdle of deploying to Heroku. I don't quite understand the logs. I did create a Procfile to launch Puma and Webpack server. Would anyone mind looking at the logs and tell me what I might be missing? BTW, the first hurdle was getting rid of a Yarn vs NPM lockfile conflict.
Here are the logs:
2020-02-15T19:10:42.074186+00:00 app[web.1]: bundler: failed to load command: puma (/app/vendor/bundle/ruby/2.6.0/bin/puma)
2020-02-15T19:10:42.074256+00:00 app[web.1]: ActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR: relation "outages" does not exist
2020-02-15T19:10:42.074256+00:00 app[web.1]: LINE 8: WHERE a.attrelid = '"outages"'::regclass
2020-02-15T19:10:42.074257+00:00 app[web.1]: ^
2020-02-15T19:10:42.074269+00:00 app[web.1]:
2020-02-15T19:10:42.074271+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:65:in `exec'
2020-02-15T19:10:42.074274+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:65:in `block (2 levels) in query'
2020-02-15T19:10:42.074274+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.2.1/lib/active_support/dependencies/interlock.rb:48:in `block in permit_concurrent_loads'
2020-02-15T19:10:42.074275+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.2.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares'
2020-02-15T19:10:42.074275+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.2.1/lib/active_support/dependencies/interlock.rb:47:in `permit_concurrent_loads'
2020-02-15T19:10:42.074275+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:64:in `block in query'
2020-02-15T19:10:42.074276+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:718:in `block (2 levels) in log'
2020-02-15T19:10:42.074276+00:00 app[web.1]: /app/vendor/ruby-2.6.3/lib/ruby/2.6.0/monitor.rb:230:in `mon_synchronize'
2020-02-15T19:10:42.074276+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:717:in `block in log'
2020-02-15T19:10:42.074277+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.2.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
2020-02-15T19:10:42.074277+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:708:in `log'
2020-02-15T19:10:42.074277+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:63:in `query'
2020-02-15T19:10:42.074277+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:817:in `column_definitions'
2020-02-15T19:10:42.074278+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:114:in `columns'
2020-02-15T19:10:42.074278+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/schema_cache.rb:76:in `columns'
2020-02-15T19:10:42.074278+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/schema_cache.rb:82:in `columns_hash'
2020-02-15T19:10:42.074278+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.2.1/lib/active_record/model_schema.rb:490:in `load_schema!'
2020-02-15T19:10:42.074279+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.2.1/lib/active_record/attributes.rb:247:in `load_schema!'
2020-02-15T19:10:42.074279+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.2.1/lib/active_record/attribute_decorators.rb:51:in `load_schema!'
2020-02-15T19:10:42.074279+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.2.1/lib/active_record/model_schema.rb:480:in `block in load_schema'
2020-02-15T19:10:42.074279+00:00 app[web.1]: /app/vendor/ruby-2.6.3/lib/ruby/2.6.0/monitor.rb:230:in `mon_synchronize'
2020-02-15T19:10:42.074280+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.2.1/lib/active_record/model_schema.rb:477:in `load_schema'
2020-02-15T19:10:42.074280+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.2.1/lib/active_record/model_schema.rb:352:in `columns_hash'
2020-02-15T19:10:42.074280+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.2.1/lib/active_record/relation/query_methods.rb:1216:in `arel_column'
2020-02-15T19:10:42.074280+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.2.1/lib/active_record/relation/query_methods.rb:1203:in `block in arel_columns'
2020-02-15T19:10:42.074280+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.2.1/lib/active_record/relation/query_methods.rb:1196:in `each'
2020-02-15T19:10:42.074280+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.2.1/lib/active_record/relation/query_methods.rb:1196:in `flat_map'
2020-02-15T19:10:42.074281+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.2.1/lib/active_record/relation/query_methods.rb:1196:in `arel_columns'
2020-02-15T19:10:42.074281+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.2.1/lib/active_record/relation/query_methods.rb:1187:in `build_select'
2020-02-15T19:10:42.074281+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.2.1/lib/active_record/relation/query_methods.rb:1071:in `build_arel'
2020-02-15T19:10:42.074284+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.2.1/lib/active_record/relation/query_methods.rb:1016:in `arel'
2020-02-15T19:10:42.074284+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.2.1/lib/active_record/relation/finder_methods.rb:317:in `block in exists?'
2020-02-15T19:10:42.074284+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.2.1/lib/active_record/relation.rb:828:in `skip_query_cache_if_necessary'
2020-02-15T19:10:42.074284+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.2.1/lib/active_record/relation/finder_methods.rb:317:in `exists?'
2020-02-15T19:10:42.074285+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.2.1/lib/active_record/querying.rb:21:in `exists?'
2020-02-15T19:10:42.074285+00:00 app[web.1]: /app/app/controllers/application_controller.rb:3:in `<class:ApplicationController>'
2020-02-15T19:10:42.074285+00:00 app[web.1]: /app/app/controllers/application_controller.rb:1:in `<main>'
2020-02-15T19:10:42.074285+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
2020-02-15T19:10:42.074285+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
2020-02-15T19:10:42.074286+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
2020-02-15T19:10:42.074286+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
2020-02-15T19:10:42.074286+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
2020-02-15T19:10:42.074286+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.2.2/lib/zeitwerk/kernel.rb:16:in `require'
2020-02-15T19:10:42.074287+00:00 app[web.1]: /app/app/controllers/dashboard_controller.rb:1:in `<main>'
2020-02-15T19:10:42.074287+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
2020-02-15T19:10:42.074287+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
2020-02-15T19:10:42.074287+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
2020-02-15T19:10:42.074287+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
2020-02-15T19:10:42.074288+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
2020-02-15T19:10:42.074288+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.2.2/lib/zeitwerk/kernel.rb:16:in `require'
2020-02-15T19:10:42.074288+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.2.2/lib/zeitwerk/loader.rb:351:in `const_get'
2020-02-15T19:10:42.074288+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.2.2/lib/zeitwerk/loader.rb:351:in `block (2 levels) in eager_load'
2020-02-15T19:10:42.074289+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.2.2/lib/zeitwerk/loader.rb:685:in `block in ls'
2020-02-15T19:10:42.074289+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.2.2/lib/zeitwerk/loader.rb:682:in `foreach'
2020-02-15T19:10:42.074289+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.2.2/lib/zeitwerk/loader.rb:682:in `ls'
2020-02-15T19:10:42.074289+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.2.2/lib/zeitwerk/loader.rb:346:in `block in eager_load'
2020-02-15T19:10:42.074289+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.2.2/lib/zeitwerk/loader.rb:338:in `synchronize'
2020-02-15T19:10:42.074289+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.2.2/lib/zeitwerk/loader.rb:338:in `eager_load'
2020-02-15T19:10:42.074290+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.2.2/lib/zeitwerk/loader.rb:449:in `each'
2020-02-15T19:10:42.074290+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.2.2/lib/zeitwerk/loader.rb:449:in `eager_load_all'
2020-02-15T19:10:42.074290+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.2.1/lib/rails/application/finisher.rb:122:in `block in <module:Finisher>'
2020-02-15T19:10:42.074290+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.2.1/lib/rails/initializable.rb:32:in `instance_exec'
2020-02-15T19:10:42.074291+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.2.1/lib/rails/initializable.rb:32:in `run'
2020-02-15T19:10:42.074291+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.2.1/lib/rails/initializable.rb:61:in `block in run_initializers'
2020-02-15T19:10:42.074291+00:00 app[web.1]: /app/vendor/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:228:in `block in tsort_each'
2020-02-15T19:10:42.074291+00:00 app[web.1]: /app/vendor/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
2020-02-15T19:10:42.074291+00:00 app[web.1]: /app/vendor/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:431:in `each_strongly_connected_component_from'
2020-02-15T19:10:42.074294+00:00 app[web.1]: /app/vendor/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:349:in `block in each_strongly_connected_component'
2020-02-15T19:10:42.074294+00:00 app[web.1]: /app/vendor/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:347:in `each'
2020-02-15T19:10:42.074294+00:00 app[web.1]: /app/vendor/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:347:in `call'
2020-02-15T19:10:42.074295+00:00 app[web.1]: /app/vendor/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:347:in `each_strongly_connected_component'
2020-02-15T19:10:42.074295+00:00 app[web.1]: /app/vendor/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:226:in `tsort_each'
2020-02-15T19:10:42.074295+00:00 app[web.1]: /app/vendor/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:205:in `tsort_each'
2020-02-15T19:10:42.074295+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.2.1/lib/rails/initializable.rb:60:in `run_initializers'
2020-02-15T19:10:42.074296+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.2.1/lib/rails/application.rb:363:in `initialize!'
2020-02-15T19:10:42.074296+00:00 app[web.1]: /app/config/environment.rb:5:in `<top (required)>'
2020-02-15T19:10:42.074297+00:00 app[web.1]: config.ru:3:in `require_relative'
2020-02-15T19:10:42.074297+00:00 app[web.1]: config.ru:3:in `block in <main>'
2020-02-15T19:10:42.074315+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/rack-2.2.2/lib/rack/builder.rb:116:in `eval'
2020-02-15T19:10:42.074316+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/rack-2.2.2/lib/rack/builder.rb:116:in `new_from_string'
2020-02-15T19:10:42.074316+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/rack-2.2.2/lib/rack/builder.rb:105:in `load_file'
2020-02-15T19:10:42.074316+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/rack-2.2.2/lib/rack/builder.rb:66:in `parse_file'
2020-02-15T19:10:42.074316+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.1/lib/puma/configuration.rb:321:in `load_rackup'
2020-02-15T19:10:42.074317+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.1/lib/puma/configuration.rb:246:in `app'
2020-02-15T19:10:42.074317+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.1/lib/puma/runner.rb:155:in `load_and_bind'
2020-02-15T19:10:42.074317+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.1/lib/puma/single.rb:98:in `run'
2020-02-15T19:10:42.074317+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.1/lib/puma/launcher.rb:172:in `run'
2020-02-15T19:10:42.074318+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.1/lib/puma/cli.rb:80:in `run'
2020-02-15T19:10:42.074318+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.1/bin/puma:10:in `<top (required)>'
2020-02-15T19:10:42.074318+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/bin/puma:23:in `load'
2020-02-15T19:10:42.074318+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/bin/puma:23:in `<top (required)>'
2020-02-15T19:10:42.174683+00:00 heroku[web.1]: State changed from starting to crashed
2020-02-15T19:10:42.158245+00:00 heroku[web.1]: Process exited with status 1
2020-02-15T19:10:43.902737+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=tml-dashboard.herokuapp.com request_id=c6f9e222-b62f-47e2-b5eb-5befc8af9ad2 fwd="68.194.85.143" dyno= connect= service= status=503 bytes= protocol=https
2020-02-15T19:10:45.661172+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=tml-dashboard.herokuapp.com request_id=25660d39-0184-411c-8e94-d54fcbd0d7b3 fwd="68.194.85.143" dyno= connect= service= status=503 bytes= protocol=https
Looks like you weren't run rails db:migrate after you deployed your app. Unfortunately / fortunately Heroku doesn't run migrations after deploy.
As fast fix: you can run heroku bash(you can do it in a few ways):
$heroku run bash --app your_application_name
Through GUI of Heroku
and just run it manually: rails db:migrate
To avoid it in future you can add to your Procfile release phase
where you can just set what you want to do after deploy
# Procfile
release: rake db:migrate
Your error is actually
ActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR: relation "outages" does not exist
So it looks like you never ran migrations
heroku run rake db:migrate
or, if you have multiple environments, then add the flag for that env
heroku run rake db:migrate --remote production
or whatever the environment is called.

Rails Heroku Application Error on Heroku Open

I am trying to start my Heroku app (Rails 6 / Postgres) by using heroku open, but I am encountering an 'Application Error'.
Earlier I was having issues with rails credentials, but I deleted and regenerated them and am no longer seeing the same errors as before.
EDIT:
Again, I ran rm credentials.yml.enc and EDITOR='subl -w' rails credentials:edit (just running rails edit:credentials prompts you to use an editor) and I got the following:
DEPRECATION WARNING: Including LoggerSilence is deprecated and will be removed in Rails 6.1. Please use `ActiveSupport::LoggerSilence` instead (called from <main> at /Users/spencer_kier/life-school-landing/config/application.rb:7)
File encrypted and saved.
And then I added, committed and pushed to Github, then ran heroku open and got the following (note that when I run heroku local everything is fine):
2019-09-28T23:03:08.902322+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/dependencies.rb:291:in `load_dependency'
2019-09-28T23:03:08.902326+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/dependencies.rb:325:in `require'
2019-09-28T23:03:08.90233+00:00 app[web.1]: from bin/rails:9:in `<main>'
2019-09-28T23:03:09.002478+00:00 heroku[web.1]: Process exited with status 1
2019-09-28T23:03:09.055408+00:00 heroku[web.1]: State changed from starting to crashed
2019-09-28T23:03:09.05902+00:00 heroku[web.1]: State changed from crashed to starting
2019-09-28T23:03:15.860009+00:00 heroku[web.1]: Starting process with command `bin/rails server -p 58084 -e production`
2019-09-28T23:03:21.559329+00:00 heroku[web.1]: source=web.1 dyno=heroku.147843998.1c5871c6-e4e4-4f6c-8895-730f9331ed93 sample#memory_total=96.64MB sample#memory_rss=71.09MB sample#memory_cache=25.56MB sample#memory_swap=0.00MB sample#memory_pgpgin=34691pages sample#memory_pgpgout=9950pages sample#memory_quota=512.00MB
2019-09-28T23:03:21.327298+00:00 app[web.1]: DEPRECATION WARNING: Including LoggerSilence is deprecated and will be removed in Rails 6.1. Please use `ActiveSupport::LoggerSilence` instead (called from <main> at /app/config/application.rb:7)
2019-09-28T23:03:21.356216+00:00 app[web.1]: => Booting Puma
2019-09-28T23:03:21.356221+00:00 app[web.1]: => Rails 6.0.0 application starting in production
2019-09-28T23:03:21.356223+00:00 app[web.1]: => Run `rails server --help` for more startup options
2019-09-28T23:03:22.441468+00:00 app[web.1]: Exiting
2019-09-28T23:03:22.441762+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/message_encryptor.rb:206:in `rescue in _decrypt': ActiveSupport::MessageEncryptor::InvalidMessage (ActiveSupport::MessageEncryptor::InvalidMessage)
2019-09-28T23:03:22.441792+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/message_encryptor.rb:183:in `_decrypt'
2019-09-28T23:03:22.441823+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/message_encryptor.rb:157:in `decrypt_and_verify'
2019-09-28T23:03:22.441853+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/messages/rotator.rb:21:in `decrypt_and_verify'
2019-09-28T23:03:22.441879+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/encrypted_file.rb:80:in `decrypt'
2019-09-28T23:03:22.441907+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/encrypted_file.rb:43:in `read'
2019-09-28T23:03:22.441936+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/encrypted_configuration.rb:21:in `read'
2019-09-28T23:03:22.441963+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/encrypted_configuration.rb:33:in `config'
2019-09-28T23:03:22.44199+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/encrypted_configuration.rb:38:in `options'
2019-09-28T23:03:22.442017+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/module/delegation.rb:297:in `method_missing'
2019-09-28T23:03:22.442046+00:00 app[web.1]: from (erb):12:in `<main>'
2019-09-28T23:03:22.442074+00:00 app[web.1]: from /app/vendor/ruby-2.6.3/lib/ruby/2.6.0/erb.rb:901:in `eval'
2019-09-28T23:03:22.442102+00:00 app[web.1]: from /app/vendor/ruby-2.6.3/lib/ruby/2.6.0/erb.rb:901:in `result'
2019-09-28T23:03:22.442131+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activestorage-6.0.0/lib/active_storage/engine.rb:111:in `block (2 levels) in <class:Engine>'
2019-09-28T23:03:22.44216+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/lazy_load_hooks.rb:72:in `class_eval'
2019-09-28T23:03:22.442189+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/lazy_load_hooks.rb:72:in `block in execute_hook'
2019-09-28T23:03:22.442218+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/lazy_load_hooks.rb:62:in `with_execution_control'
2019-09-28T23:03:22.442245+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/lazy_load_hooks.rb:67:in `execute_hook'
2019-09-28T23:03:22.442273+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/lazy_load_hooks.rb:52:in `block in run_load_hooks'
2019-09-28T23:03:22.442302+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/lazy_load_hooks.rb:51:in `each'
2019-09-28T23:03:22.442333+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/lazy_load_hooks.rb:51:in `run_load_hooks'
2019-09-28T23:03:22.442359+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activestorage-6.0.0/app/models/active_storage/blob.rb:278:in `<main>'
2019-09-28T23:03:22.442391+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
2019-09-28T23:03:22.442419+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
2019-09-28T23:03:22.442447+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
2019-09-28T23:03:22.442488+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
2019-09-28T23:03:22.442491+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
2019-09-28T23:03:22.442496+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.1.10/lib/zeitwerk/kernel.rb:16:in `require'
2019-09-28T23:03:22.442497+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.1.10/lib/zeitwerk/loader.rb:355:in `const_get'
2019-09-28T23:03:22.442499+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.1.10/lib/zeitwerk/loader.rb:355:in `block (2 levels) in eager_load'
2019-09-28T23:03:22.442518+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.1.10/lib/zeitwerk/loader.rb:679:in `block in ls'
2019-09-28T23:03:22.44252+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.1.10/lib/zeitwerk/loader.rb:676:in `foreach'
2019-09-28T23:03:22.442525+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.1.10/lib/zeitwerk/loader.rb:676:in `ls'
2019-09-28T23:03:22.442528+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.1.10/lib/zeitwerk/loader.rb:346:in `block in eager_load'
2019-09-28T23:03:22.442529+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.1.10/lib/zeitwerk/loader.rb:338:in `synchronize'
2019-09-28T23:03:22.442531+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.1.10/lib/zeitwerk/loader.rb:338:in `eager_load'
2019-09-28T23:03:22.442533+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.1.10/lib/zeitwerk/loader.rb:449:in `each'
2019-09-28T23:03:22.442538+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.1.10/lib/zeitwerk/loader.rb:449:in `eager_load_all'
2019-09-28T23:03:22.44254+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.0/lib/rails/application/finisher.rb:122:in `block in <module:Finisher>'
2019-09-28T23:03:22.442542+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.0/lib/rails/initializable.rb:32:in `instance_exec'
2019-09-28T23:03:22.442546+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.0/lib/rails/initializable.rb:32:in `run'
2019-09-28T23:03:22.442548+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.0/lib/rails/initializable.rb:61:in `block in run_initializers'
2019-09-28T23:03:22.442572+00:00 app[web.1]: from /app/vendor/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:228:in `block in tsort_each'
2019-09-28T23:03:22.442574+00:00 app[web.1]: from /app/vendor/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
2019-09-28T23:03:22.442577+00:00 app[web.1]: from /app/vendor/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:431:in `each_strongly_connected_component_from'
2019-09-28T23:03:22.44258+00:00 app[web.1]: from /app/vendor/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:349:in `block in each_strongly_connected_component'
2019-09-28T23:03:22.442584+00:00 app[web.1]: from /app/vendor/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:347:in `each'
2019-09-28T23:03:22.442602+00:00 app[web.1]: from /app/vendor/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:347:in `call'
2019-09-28T23:03:22.442604+00:00 app[web.1]: from /app/vendor/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:347:in `each_strongly_connected_component'
2019-09-28T23:03:22.442607+00:00 app[web.1]: from /app/vendor/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:226:in `tsort_each'
2019-09-28T23:03:22.44261+00:00 app[web.1]: from /app/vendor/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:205:in `tsort_each'
2019-09-28T23:03:22.442613+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.0/lib/rails/initializable.rb:60:in `run_initializers'
2019-09-28T23:03:22.442664+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.0/lib/rails/application.rb:363:in `initialize!'
2019-09-28T23:03:22.442666+00:00 app[web.1]: from /app/config/environment.rb:5:in `<main>'
2019-09-28T23:03:22.442668+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
2019-09-28T23:03:22.44267+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
2019-09-28T23:03:22.442671+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
2019-09-28T23:03:22.442673+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
2019-09-28T23:03:22.442674+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
2019-09-28T23:03:22.442676+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.1.10/lib/zeitwerk/kernel.rb:23:in `require'
2019-09-28T23:03:22.442677+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/dependencies.rb:325:in `block in require'
2019-09-28T23:03:22.442681+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/dependencies.rb:291:in `load_dependency'
2019-09-28T23:03:22.442683+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/dependencies.rb:325:in `require'
2019-09-28T23:03:22.442684+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:48:in `require_relative'
2019-09-28T23:03:22.442686+00:00 app[web.1]: from config.ru:3:in `block in <main>'
2019-09-28T23:03:22.442687+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/builder.rb:55:in `instance_eval'
2019-09-28T23:03:22.442691+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/builder.rb:55:in `initialize'
2019-09-28T23:03:22.442692+00:00 app[web.1]: from config.ru:in `new'
2019-09-28T23:03:22.442694+00:00 app[web.1]: from config.ru:in `<main>'
2019-09-28T23:03:22.442697+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/builder.rb:49:in `eval'
2019-09-28T23:03:22.4427+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/builder.rb:49:in `new_from_string'
2019-09-28T23:03:22.442725+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/builder.rb:40:in `parse_file'
2019-09-28T23:03:22.442727+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/server.rb:319:in `build_app_and_options_from_config'
2019-09-28T23:03:22.442732+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/server.rb:219:in `app'
2019-09-28T23:03:22.442735+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/server.rb:354:in `wrapped_app'
2019-09-28T23:03:22.44274+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/server.rb:283:in `start'
2019-09-28T23:03:22.442742+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.0/lib/rails/commands/server/server_command.rb:39:in `start'
2019-09-28T23:03:22.442746+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.0/lib/rails/commands/server/server_command.rb:147:in `block in perform'
2019-09-28T23:03:22.44275+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.0/lib/rails/commands/server/server_command.rb:138:in `tap'
2019-09-28T23:03:22.442755+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.0/lib/rails/commands/server/server_command.rb:138:in `perform'
2019-09-28T23:03:22.442758+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'
2019-09-28T23:03:22.442761+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'
2019-09-28T23:03:22.442764+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'
2019-09-28T23:03:22.442784+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.0/lib/rails/command/base.rb:65:in `perform'
2019-09-28T23:03:22.442786+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.0/lib/rails/command.rb:46:in `invoke'
2019-09-28T23:03:22.4428+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.0/lib/rails/commands.rb:18:in `<main>'
2019-09-28T23:03:22.442801+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
The key value in Heroku was wrong.

Error deploying to heroku: "Application Error shows in chrome"

When i try to deploy my test_blog to heroku. It shows "Appliction Error" in chrome.
So, i viewed heroku logs and it shows following result. Dont now what's making up the error!!
C:\Users\Nir\Desktop\my projects\blog>heroku logs
2016-10-27T22:08:15.739278+00:00 app[web.1]: from /app/vendor/ruby-2.2.4/lib/
ruby/2.2.0/tsort.rb:224:in `tsort_each'
2016-10-27T22:08:15.739309+00:00 app[web.1]: from /app/config.ru:in `new'
2016-10-27T22:08:15.739278+00:00 app[web.1]: from /app/vendor/ruby-2.2.4/lib/
ruby/2.2.0/tsort.rb:203:in `tsort_each'
2016-10-27T22:08:15.739286+00:00 app[web.1]: from /app/config.ru:3:in `requir
e_relative'
2016-10-27T22:08:15.739310+00:00 app[web.1]: from /app/config.ru:in `<main>'
2016-10-27T22:08:15.739315+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/rack-2.0.1/lib/rack/builder.rb:40:in `parse_file'
2016-10-27T22:08:15.739317+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/rack-2.0.1/lib/rack/server.rb:318:in `build_app_and_options_from_config'
2016-10-27T22:08:15.739319+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/rack-2.0.1/lib/rack/server.rb:218:in `app'
2016-10-27T22:08:15.739336+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/rack-2.0.1/lib/rack/server.rb:353:in `wrapped_app'
2016-10-27T22:08:15.739335+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/railties-5.0.0.1/lib/rails/commands/server.rb:59:in `app'
2016-10-27T22:08:15.739339+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/rack-2.0.1/lib/rack/server.rb:282:in `start'
2016-10-27T22:08:15.739339+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/railties-5.0.0.1/lib/rails/commands/server.rb:79:in `start'
2016-10-27T22:08:15.739340+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:90:in `block in se
rver'
2016-10-27T22:08:15.739343+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:85:in `tap'
2016-10-27T22:08:15.739345+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:85:in `server'
2016-10-27T22:08:15.739346+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:49:in `run_command
!'
2016-10-27T22:08:15.739351+00:00 app[web.1]: from bin/rails:4:in `require'
2016-10-27T22:08:15.739352+00:00 app[web.1]: from bin/rails:4:in `<main>'
2016-10-27T22:08:15.739349+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/railties-5.0.0.1/lib/rails/commands.rb:18:in `<top (required)>'
2016-10-27T22:08:15.921092+00:00 heroku[web.1]: Process exited with status 1
2016-10-27T22:08:15.928895+00:00 heroku[web.1]: State changed from starting to c
rashed
2016-10-28T03:43:51.947800+00:00 heroku[web.1]: State changed from crashed to st
arting
2016-10-28T03:43:54.754771+00:00 heroku[web.1]: Starting process with command `b
in/rails server -p 33787 -e production`
2016-10-28T03:43:58.198367+00:00 app[web.1]: => Booting Puma
2016-10-28T03:43:58.198384+00:00 app[web.1]: => Rails 5.0.0.1 application starti
ng in production on http://0.0.0.0:33787
2016-10-28T03:43:58.198385+00:00 app[web.1]: => Run `rails server -h` for more s
tartup options
2016-10-28T03:43:59.147728+00:00 app[web.1]: Exiting
2016-10-28T03:43:59.147813+00:00 app[web.1]: /app/vendor/bundle/ruby/2.2.0/gems/
activerecord-5.0.0.1/lib/active_record/connection_adapters/connection_specificat
ion.rb:176:in `rescue in spec': Specified 'postgresql' for database adapter, but
the gem is not loaded. Add `gem 'pg'` to your Gemfile (and ensure its version i
s at the minimum required by ActiveRecord). (Gem::LoadError)
2016-10-28T03:43:59.147845+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/connection_sp
ecification.rb:173:in `spec'
2016-10-28T03:43:59.147846+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/activerecord-5.0.0.1/lib/active_record/connection_handling.rb:53:in `est
ablish_connection'
2016-10-28T03:43:59.147880+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/activerecord-5.0.0.1/lib/active_record/railtie.rb:125:in `block (2 level
s) in <class:Railtie>'
2016-10-28T03:43:59.147882+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/activesupport-5.0.0.1/lib/active_support/lazy_load_hooks.rb:38:in `insta
nce_eval'
2016-10-28T03:43:59.147885+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/activesupport-5.0.0.1/lib/active_support/lazy_load_hooks.rb:38:in `execu
te_hook'
2016-10-28T03:43:59.147886+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/activesupport-5.0.0.1/lib/active_support/lazy_load_hooks.rb:45:in `block
in run_load_hooks'
2016-10-28T03:43:59.147886+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/activesupport-5.0.0.1/lib/active_support/lazy_load_hooks.rb:44:in `each'
2016-10-28T03:43:59.147888+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/activesupport-5.0.0.1/lib/active_support/lazy_load_hooks.rb:44:in `run_l
oad_hooks'
2016-10-28T03:43:59.147890+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/activerecord-5.0.0.1/lib/active_record/base.rb:324:in `<module:ActiveRec
ord>'
2016-10-28T03:43:59.147916+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/activerecord-5.0.0.1/lib/active_record/base.rb:24:in `<top (required)>'
2016-10-28T03:43:59.147917+00:00 app[web.1]: from /app/app/models/application
_record.rb:1:in `<top (required)>'
2016-10-28T03:43:59.147918+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require
'
2016-10-28T03:43:59.147921+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `block i
n require'
2016-10-28T03:43:59.147922+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:in `load_de
pendency'
2016-10-28T03:43:59.147924+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require
'
2016-10-28T03:43:59.147926+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:380:in `block i
n require_or_load'
2016-10-28T03:43:59.147951+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:37:in `block in
load_interlock'
2016-10-28T03:43:59.147952+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies/interlock.rb:12:in
`block in loading'
2016-10-28T03:43:59.147955+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/activesupport-5.0.0.1/lib/active_support/concurrency/share_lock.rb:117:i
n `exclusive'
2016-10-28T03:43:59.147957+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies/interlock.rb:11:in
`loading'
2016-10-28T03:43:59.147959+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:37:in `load_int
erlock'
2016-10-28T03:43:59.147982+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:358:in `require
_or_load'
2016-10-28T03:43:59.147984+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:336:in `depend_
on'
2016-10-28T03:43:59.147986+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:252:in `require
_dependency'
2016-10-28T03:43:59.147987+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/railties-5.0.0.1/lib/rails/engine.rb:476:in `block (2 levels) in eager_l
oad!'
2016-10-28T03:43:59.147991+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/railties-5.0.0.1/lib/rails/engine.rb:475:in `block in eager_load!'
2016-10-28T03:43:59.147989+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/railties-5.0.0.1/lib/rails/engine.rb:475:in `each'
2016-10-28T03:43:59.147993+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/railties-5.0.0.1/lib/rails/engine.rb:473:in `each'
2016-10-28T03:43:59.148009+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/railties-5.0.0.1/lib/rails/engine.rb:473:in `eager_load!'
2016-10-28T03:43:59.148011+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/railties-5.0.0.1/lib/rails/engine.rb:354:in `eager_load!'
2016-10-28T03:43:59.148013+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/railties-5.0.0.1/lib/rails/application/finisher.rb:59:in `each'
2016-10-28T03:43:59.148014+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/railties-5.0.0.1/lib/rails/application/finisher.rb:59:in `block in <modu
le:Finisher>'
2016-10-28T03:43:59.148015+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:30:in `instance_exec'
2016-10-28T03:43:59.148017+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:30:in `run'
2016-10-28T03:43:59.148019+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:55:in `block in run_initiali
zers'
2016-10-28T03:43:59.148035+00:00 app[web.1]: from /app/vendor/ruby-2.2.4/lib/
ruby/2.2.0/tsort.rb:226:in `block in tsort_each'
2016-10-28T03:43:59.148036+00:00 app[web.1]: from /app/vendor/ruby-2.2.4/lib/
ruby/2.2.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_componen
t'
2016-10-28T03:43:59.148037+00:00 app[web.1]: from /app/vendor/ruby-2.2.4/lib/
ruby/2.2.0/tsort.rb:429:in `each_strongly_connected_component_from'
2016-10-28T03:43:59.148039+00:00 app[web.1]: from /app/vendor/ruby-2.2.4/lib/
ruby/2.2.0/tsort.rb:347:in `block in each_strongly_connected_component'
2016-10-28T03:43:59.148040+00:00 app[web.1]: from /app/vendor/ruby-2.2.4/lib/
ruby/2.2.0/tsort.rb:345:in `each'
2016-10-28T03:43:59.148042+00:00 app[web.1]: from /app/vendor/ruby-2.2.4/lib/
ruby/2.2.0/tsort.rb:345:in `call'
2016-10-28T03:43:59.148044+00:00 app[web.1]: from /app/vendor/ruby-2.2.4/lib/
ruby/2.2.0/tsort.rb:345:in `each_strongly_connected_component'
2016-10-28T03:43:59.148062+00:00 app[web.1]: from /app/vendor/ruby-2.2.4/lib/
ruby/2.2.0/tsort.rb:224:in `tsort_each'
2016-10-28T03:43:59.148064+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:54:in `run_initializers'
2016-10-28T03:43:59.148066+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/railties-5.0.0.1/lib/rails/application.rb:352:in `initialize!'
2016-10-28T03:43:59.148063+00:00 app[web.1]: from /app/vendor/ruby-2.2.4/lib/
ruby/2.2.0/tsort.rb:203:in `tsort_each'
2016-10-28T03:43:59.148068+00:00 app[web.1]: from /app/config/environment.rb:
5:in `<top (required)>'
2016-10-28T03:43:59.148070+00:00 app[web.1]: from /app/config.ru:3:in `requir
e_relative'
2016-10-28T03:43:59.148074+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/rack-2.0.1/lib/rack/builder.rb:55:in `instance_eval'
2016-10-28T03:43:59.148091+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/rack-2.0.1/lib/rack/builder.rb:55:in `initialize'
2016-10-28T03:43:59.148072+00:00 app[web.1]: from /app/config.ru:3:in `block
in <main>'
2016-10-28T03:43:59.148093+00:00 app[web.1]: from /app/config.ru:in `<main>'
2016-10-28T03:43:59.148092+00:00 app[web.1]: from /app/config.ru:in `new'
2016-10-28T03:43:59.148095+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/rack-2.0.1/lib/rack/builder.rb:49:in `eval'
2016-10-28T03:43:59.148096+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/rack-2.0.1/lib/rack/builder.rb:49:in `new_from_string'
2016-10-28T03:43:59.148100+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/rack-2.0.1/lib/rack/server.rb:318:in `build_app_and_options_from_config'
2016-10-28T03:43:59.148098+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/rack-2.0.1/lib/rack/builder.rb:40:in `parse_file'
2016-10-28T03:43:59.148102+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/rack-2.0.1/lib/rack/server.rb:218:in `app'
2016-10-28T03:43:59.148119+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/railties-5.0.0.1/lib/rails/commands/server.rb:59:in `app'
2016-10-28T03:43:59.148121+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/rack-2.0.1/lib/rack/server.rb:353:in `wrapped_app'
2016-10-28T03:43:59.148123+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/rack-2.0.1/lib/rack/server.rb:282:in `start'
2016-10-28T03:43:59.148124+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/railties-5.0.0.1/lib/rails/commands/server.rb:79:in `start'
2016-10-28T03:43:59.148125+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:90:in `block in se
rver'
2016-10-28T03:43:59.148127+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:85:in `tap'
2016-10-28T03:43:59.148129+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:85:in `server'
2016-10-28T03:43:59.148131+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:49:in `run_command
!'
2016-10-28T03:43:59.148148+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2
.0/gems/railties-5.0.0.1/lib/rails/commands.rb:18:in `<top (required)>'
2016-10-28T03:43:59.148149+00:00 app[web.1]: from bin/rails:4:in `require'
2016-10-28T03:43:59.148150+00:00 app[web.1]: from bin/rails:4:in `<main>'
2016-10-28T03:43:59.246397+00:00 heroku[web.1]: Process exited with status 1
2016-10-28T03:43:59.281910+00:00 heroku[web.1]: State changed from starting to c
rashed
2016-10-28T05:36:16.867365+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path="/" host=murmuring-falls-27437.herokuapp.com request_id=62
ddb576-529b-4742-9768-47aea9e3c7e2 fwd="120.89.103.211" dyno= connect= service=
status=503 bytes=
2016-10-28T05:36:18.306748+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path="/favicon.ico" host=murmuring-falls-27437.herokuapp.com re
quest_id=1d1711b1-b7a3-4885-9500-dfaac53806bd fwd="120.89.103.211" dyno= connect
= service= status=503 bytes=
This is the error shown in Chrome when i run my url:
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.

Heroku deployment causing app to crash

Here is my heroku deployment log, can anyone help me whats going wrong ? I am deploying my first rails app. can anyone tell what is causing the app to crash ?
(edited to format the log, updated log after running heroku run rake db:migrate, edited after putting gmaps4rails under production)
2013-08-02T16:09:34.647286+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:439:in `block (2 levels) in eager_load!'
2013-08-02T16:09:34.647286+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:438:in `each'
2013-08-02T16:09:34.647286+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:438:in `block in eager_load!'
2013-08-02T16:09:34.646547+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:313:in `depend_on'
2013-08-02T16:09:34.646547+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
2013-08-02T16:09:34.646227+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/action_controller/metal/params_wrapper.rb:152:in `_default_wrap_model'
2013-08-02T16:09:34.646227+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/action_controller/metal/params_wrapper.rb:169:in `_set_wrapper_defaults'
2013-08-02T16:09:34.646227+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/action_controller/metal/params_wrapper.rb:133:in `inherited'
2013-08-02T16:09:34.646547+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/abstract_controller/railties/routes_helpers.rb:7:in `block (2 levels) in with'
2013-08-02T16:09:34.646547+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/action_controller/railties/paths.rb:7:in `block (2 levels) in with'
2013-08-02T16:09:34.646547+00:00 app[web.1]: from /app/app/controllers/estates_controller.rb:1:in `<top (required)>'
2013-08-02T16:09:34.646547+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require'
2013-08-02T16:09:34.646547+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `block in require'
2013-08-02T16:09:34.646547+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:236:in `load_dependency'
2013-08-02T16:09:34.646547+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require'
2013-08-02T16:09:34.648495+00:00 app[web.1]: from script/rails:6:in `<main>'
2013-08-02T16:09:34.647286+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:30:in `instance_exec'
2013-08-02T16:09:34.647286+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:30:in `run'
2013-08-02T16:09:34.647286+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:55:in `block in run_initializers'
2013-08-02T16:09:34.647286+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:54:in `each'
2013-08-02T16:09:34.647621+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:54:in `run_initializers'
2013-08-02T16:09:34.647621+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/application.rb:136:in `initialize!'
2013-08-02T16:09:34.648188+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/commands/server.rb:70:in `start'
2013-08-02T16:09:34.648495+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/commands.rb:55:in `block in <top (required)>'
2013-08-02T16:09:34.648495+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/commands.rb:50:in `tap'
2013-08-02T16:09:34.648495+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/commands.rb:50:in `<top (required)>'
2013-08-02T16:09:34.648495+00:00 app[web.1]: from script/rails:6:in `require'
2013-08-02T16:09:34.647621+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/railtie/configurable.rb:30:in `method_missing'
2013-08-02T16:09:34.647621+00:00 app[web.1]: from /app/config/environment.rb:5:in `<top (required)>'
2013-08-02T16:09:34.647621+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require'
2013-08-02T16:09:34.647621+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `block in require'
2013-08-02T16:09:34.647621+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:236:in `load_dependency'
2013-08-02T16:09:34.647621+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require'
2013-08-02T16:09:34.647621+00:00 app[web.1]: from /app/config.ru:3:in `block in <main>'
2013-08-02T16:09:34.647621+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:51:in `instance_eval'
2013-08-02T16:09:34.648188+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:51:in `initialize'
2013-08-02T16:09:34.648188+00:00 app[web.1]: from /app/config.ru:in `new'
2013-08-02T16:09:34.648188+00:00 app[web.1]: from /app/config.ru:in `<main>'
2013-08-02T16:09:34.648188+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:40:in `eval'
2013-08-02T16:09:34.645907+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `block in require'
2013-08-02T16:09:34.644855+00:00 app[web.1]: Exiting
2013-08-02T16:09:34.648188+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:40:in `parse_file'
2013-08-02T16:09:34.648188+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/server.rb:200:in `app'
2013-08-02T16:09:34.648188+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/commands/server.rb:46:in `app'
2013-08-02T16:09:34.648188+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/server.rb:304:in `wrapped_app'
2013-08-02T16:09:34.648188+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/server.rb:254:in `start'
2013-08-02T16:09:34.645907+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:359:in `require_or_load'
2013-08-02T16:09:34.645907+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:236:in `load_dependency'
2013-08-02T16:09:34.645907+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.13/lib/active_record/dynamic_matchers.rb:55:in `method_missing': undefined method `acts_as_gmappable' for #<Class:0x0000000346c578> (NoMethodError)
2013-08-02T16:09:34.645907+00:00 app[web.1]: from /app/app/models/estate.rb:18:in `<class:Estate>'
2013-08-02T16:09:34.645907+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:192:in `block in const_missing'
2013-08-02T16:09:34.646227+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:190:in `const_missing'
2013-08-02T16:09:34.645907+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:502:in `load_missing_constant'
2013-08-02T16:09:34.645907+00:00 app[web.1]: from /app/app/models/estate.rb:1:in `<top (required)>'
2013-08-02T16:09:34.645907+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require'
2013-08-02T16:09:34.646227+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/string/inflections.rb:66:in `safe_constantize'
2013-08-02T16:09:34.646227+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/inflector/methods.rb:230:in `block in constantize'
2013-08-02T16:09:34.645907+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require'
2013-08-02T16:09:34.646227+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:190:in `each'
2013-08-02T16:09:34.647286+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/application/finisher.rb:53:in `block in <module:Finisher>'
2013-08-02T16:09:34.646547+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:359:in `require_or_load'
2013-08-02T16:09:34.646227+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/inflector/methods.rb:260:in `safe_constantize'
2013-08-02T16:09:34.646227+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/inflector/methods.rb:229:in `constantize'
2013-08-02T16:09:34.646227+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/inflector/methods.rb:229:in `each'
2013-08-02T16:09:34.647286+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:436:in `each'
2013-08-02T16:09:34.647286+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:436:in `eager_load!'
2013-08-02T16:09:36.386636+00:00 heroku[web.1]: Process exited with status 1
2013-08-02T16:09:36.411861+00:00 heroku[web.1]: State changed from starting to crashed
2013-08-02T16:09:37.288150+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=powerful-brook-9708.herokuapp.com fwd="68.100.86.192" dyno= connect= service= status=503 bytes=
2013-08-02T16:10:06.258553+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=powerful-brook-9708.herokuapp.com fwd="68.100.86.192" dyno= connect= service= status=503 bytes=
Actually problem was at first I did not mention the gmaps4rails in production, later did not rake the db:migrate and finally the main problem was that I had the application running in production mode on localhost so that was causing some problem when I was trying to push it into heroku. So I close the local host, and pushed the app and it started working.

Heroku error in rails app

I've successfully created a simple app and push it to Heroku. In the first push I could access the URL correctly. However, after I've done a change and committed, I get the following 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.
I've checked the logs using heroku logs and the result is the following:
2012-01-16T18:15:07+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:1:in `<main>'
2012-01-16T18:15:07+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'
2012-01-16T18:15:07+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:1:in `new'
2012-01-16T18:15:07+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'
2012-01-16T18:15:07+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'
2012-01-16T18:15:07+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'
2012-01-16T18:15:07+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!'
2012-01-16T18:15:07+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)>'
2012-01-16T18:15:07+00:00 app[web.1]: from /usr/ruby1.9.2/bin/thin:19:in `load'
2012-01-16T18:15:07+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'
2012-01-16T18:15:07+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.3.6/lib/rack/builder.rb:51:in `initialize'
2012-01-16T18:15:07+00:00 app[web.1]: from /usr/ruby1.9.2/bin/thin:19:in `<main>'
2012-01-16T18:15:09+00:00 heroku[web.1]: State changed from starting to crashed
2012-01-16T18:15:09+00:00 heroku[web.1]: Process exited
2012-01-16T18:15:12+00:00 heroku[router]: Error H10 (App crashed) -> GET falling-warrior-5337.heroku.com/ dyno= queue= wait= service= status=503 bytes=
2012-01-16T18:17:29+00:00 heroku[router]: Error H10 (App crashed) -> GET falling-warrior-5337.heroku.com/ dyno= queue= wait= service= status=503 bytes=
2012-01-16T18:22:03+00:00 heroku[web.1]: State changed from crashed to created
2012-01-16T18:22:03+00:00 heroku[web.1]: State changed from created to starting
2012-01-16T18:22:09+00:00 heroku[web.1]: Starting process with command `thin -p 16412 -e production -R /home/heroku_rack/heroku.ru start`
2012-01-16T18:22:13+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/activerecord-3.1.3/lib/active_record/connection_adapters/abstract/connection_specification.rb:71:in `rescue in establish_connection': Please install the postgresql adapter: `gem install activerecord-postgresql-adapter` (pg is not part of the bundle. Add it to Gemfile.) (RuntimeError)
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activerecord-3.1.3/lib/active_record/railtie.rb:69:in `block (2 levels) in <class:Railtie>'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.3/lib/active_support/lazy_load_hooks.rb:36:in `instance_eval'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activerecord-3.1.3/lib/active_record/connection_adapters/abstract/connection_specification.rb:55:in `establish_connection'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activerecord-3.1.3/lib/active_record/connection_adapters/abstract/connection_specification.rb:68:in `establish_connection'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.3/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.3/lib/active_support/lazy_load_hooks.rb:43:in `block in run_load_hooks'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.3/lib/active_support/lazy_load_hooks.rb:42:in `run_load_hooks'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.3/lib/active_support/lazy_load_hooks.rb:42:in `each'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activerecord-3.1.3/lib/active_record/base.rb:2190:in `<top (required)>'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/app/models/category.rb:1:in `<top (required)>'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in `block in require'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:225:in `load_dependency'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in `require'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in `require'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:348:in `require_or_load'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:489:in `load_missing_constant'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:181:in `block in const_missing'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:179:in `const_missing'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.3/lib/active_support/inflector/methods.rb:123:in `each'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:179:in `each'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.3/lib/active_support/inflector/methods.rb:124:in `block in constantize'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.3/lib/active_support/inflector/methods.rb:123:in `constantize'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.3/lib/active_support/core_ext/string/inflections.rb:43:in `constantize'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.1.3/lib/action_controller/metal/params_wrapper.rb:148:in `_default_wrap_model'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.1.3/lib/action_controller/metal/params_wrapper.rb:167:in `_set_wrapper_defaults'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.1.3/lib/action_controller/metal/params_wrapper.rb:128:in `inherited'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.1.3/lib/abstract_controller/railties/routes_helpers.rb:7:in `block (2 levels) in with'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.1.3/lib/action_controller/railties/paths.rb:7:in `block (2 levels) in with'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/app/controllers/categories_controller.rb:1:in `<top (required)>'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in `block in require'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:225:in `load_dependency'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in `require'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in `require'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:348:in `require_or_load'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:214:in `require_dependency'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.1.3/lib/rails/engine.rb:416:in `each'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:302:in `depend_on'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.1.3/lib/rails/engine.rb:417:in `block (2 levels) in eager_load!'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.1.3/lib/rails/engine.rb:414:in `each'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.1.3/lib/rails/application/finisher.rb:51:in `block in <module:Finisher>'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.1.3/lib/rails/initializable.rb:30:in `instance_exec'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.1.3/lib/rails/engine.rb:414:in `eager_load!'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.1.3/lib/rails/engine.rb:416:in `block in eager_load!'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.1.3/lib/rails/initializable.rb:54:in `each'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.1.3/lib/rails/application.rb:96:in `initialize!'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.1.3/lib/rails/railtie/configurable.rb:30:in `method_missing'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.1.3/lib/rails/initializable.
2012-01-16T18:22:13+00:00 app[web.1]: from /app/config/environment.rb:5:in `<top (required)>'
2012-01-16T18:22:13+00:00 app[web.1]: from <internal:lib/rubygems/custom_require>:29:in `require'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.1.3/lib/rails/initializable.rb:55:in `block in run_initializers'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.1.3/lib/rails/initializable.rb:54:in `run_initializers'
2012-01-16T18:22:13+00:00 app[web.1]: from <internal:lib/rubygems/custom_require>:29:in `require'
2012-01-16T18:22:13+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:23:in `eval'
2012-01-16T18:22:13+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:23:in `block (3 levels) in <main>'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.3.6/lib/rack/builder.rb:51:in `initialize'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.3.6/lib/rack/builder.rb:120:in `new'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.3.6/lib/rack/builder.rb:120:in `map'
2012-01-16T18:22:13+00:00 app[web.1]: from config.ru:3:in `block (3 levels) in <main>'
2012-01-16T18:22:13+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:18:in `block (2 levels) in <main>'
2012-01-16T18:22:13+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:11:in `new'
2012-01-16T18:22:13+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:11:in `block in <main>'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.3.6/lib/rack/builder.rb:51:in `instance_eval'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.3.6/lib/rack/builder.rb:51:in `instance_eval'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.3.6/lib/rack/builder.rb:51:in `initialize'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.3.6/lib/rack/builder.rb:51:in `initialize'
2012-01-16T18:22:13+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:1:in `new'
2012-01-16T18:22:13+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'
2012-01-16T18:22:13+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'
2012-01-16T18:22:13+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'
2012-01-16T18:22:13+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'
2012-01-16T18:22:13+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!'
2012-01-16T18:22:13+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.3.6/lib/rack/builder.rb:51:in `instance_eval'
2012-01-16T18:22:13+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:1:in `<main>'
2012-01-16T18:22:13+00:00 app[web.1]: from /usr/ruby1.9.2/bin/thin:19:in `<main>'
2012-01-16T18:22:13+00:00 app[web.1]: from /usr/ruby1.9.2/bin/thin:19:in `load'
2012-01-16T18:22:13+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)>'
2012-01-16T18:22:13+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'
2012-01-16T18:22:15+00:00 heroku[web.1]: State changed from starting to crashed
2012-01-16T18:22:15+00:00 heroku[web.1]: Process exited
I'm under Ubuntu, using RVM with Ruby 1.9.2 and Rails 3.1 - Running heroku stack tells me that the deployment environment is bamboo-mri-1.9.2
The app works correctly in local.
The error message seems quite clear. You should add pg to your Gemfile, since Heroku uses the postgresql database instead of mysql or sqlite3.

Resources