Deploying ruby on rails on heroku cedar error - ruby-on-rails

I seem to have real trouble while deploying, I am not very much sure about the error and what has triggered it. Everything seems to be working in local using production mode as well. Please help me understand this error and deploy my app.
Now, I removed .git folder and created a new cedar app and then tried it again but as usual have some errors. But, this time the error looks different. My gem file and recent heroku log are as below;
Gemfile
source 'https://rubygems.org'
gem 'rails', '3.2.2'
group :test, :development do
gem 'sqlite3'
gem 'rspec-rails'
gem 'factory_girl'
gem 'spork'
gem 'annotate', :git => "https://github.com/ctran/annotate_models.git"
end
group :production do
gem 'pg'
gem 'thin'
end
group :assets do
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
gem 'uglifier', '>= 1.0.3'
gem 'haml'
end
gem 'jquery-rails'
gem 'heroku'
Recent log
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/thin-1.3.1/lib/thin/connection.rb:38:in `receive_data'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/thin-1.3.1/bin/thin:6:in `<top (required)>'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/bin/thin:19:in `load'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/bin/thin:19:in `<main>'
2012-04-18T13:59:38+00:00 app[web.1]: Completed 500 Internal Server Error in 128ms
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/action_view/lookup_context.rb:109:in `find'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:39:in `render'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/abstract_controller/callbacks.rb:17:in `process_action'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/abstract_controller/rendering.rb:45:in `process'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/journey-1.0.3/lib/journey/router.rb:56:in `call'
2012-04-18T13:59:38+00:00 app[web.1]: Processing by PagesController#home as HTML
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:in `call'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/lock.rb:15:in `call'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/thin-1.3.1/lib/thin/server.rb:159:in `start'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/action_view/renderer/template_renderer.rb:29:in `determine_template'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/abstract_controller/base.rb:167:in `process_action'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.2/lib/active_support/notifications.rb:123:in `block in instrument'
2012-04-18T13:59:38+00:00 app[web.1]:
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/action_controller/metal.rb:246:in `block in action'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/action_view/renderer/renderer.rb:36:in `render_template'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.2/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/action_controller/metal/rendering.rb:10:in `process_action'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/action_dispatch/middleware/static.rb:61:in `call'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/thin-1.3.1/lib/thin/connection.rb:80:in `block in pre_process'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/action_dispatch/routing/route_set.rb:67:in `call'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/etag.rb:23:in `call'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/thin-1.3.1/lib/thin/controllers/controller.rb:86:in `start'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.2/lib/rails/rack/logger.rb:26:in `call_app'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in `fetch'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/thin-1.3.1/lib/thin/connection.rb:78:in `pre_process'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/thin-1.3.1/lib/thin/runner.rb:151:in `run!'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/action_view/path_set.rb:58:in `find'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/action_controller/metal/renderers.rb:28:in `render_to_body'
2012-04-18T13:59:38+00:00 app[web.1]: ):
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/abstract_controller/rendering.rb:103:in `render_to_body'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/action_view/renderer/template_renderer.rb:10:in `render'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.2/lib/active_record/railties/controller_runtime.
rb:18:in `process_action'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/journey-1.0.3/lib/journey/router.rb:68:in `block in call'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.2/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:81:in `run_callbacks'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/abstract_controller/base.rb:121:in `process'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/journey-1.0.3/lib/journey/router.rb:56:in `each'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/action_controller/metal/rendering.rb:16:in `render'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/action_controller/metal/implicit_render.rb:5:in `send_action'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/action_view/renderer/abstract_renderer.rb:3:in `find_template'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/abstract_controller/rendering.rb:88:in `render'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/action_dispatch/middleware/flash.rb:242:in `call'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/runtime.rb:17:in `call'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:in `context'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:81:in `run_callbacks'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.2/lib/rails/application.rb:220:in `call'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.2/lib/active_record/query_cache.rb:64:in `call'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/action_controller/metal/rescue.rb:29:in `process_action'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/action_controller/metal.rb:203:in `dispatch'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/action_dispatch/routing/route_set.rb:594:in `call'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/action_dispatch/middleware/cookies.rb:338:in `call'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.2/lib/rails/engine.rb:479:in `call'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run_machine'
2012-04-18T13:59:38+00:00 app[web.1]:
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run'
2012-04-18T13:59:38+00:00 app[web.1]:
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/thin-1.3.1/lib/thin/connection.rb:78:in `catch'
2012-04-18T13:59:38+00:00 app[web.1]: vendor
/bundle/ruby/1.9.1/gems/thin-1.3.1/lib/thin/runner.rb:185:in `run_command'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.2/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.2/lib/rails/railtie/configurable.rb:30:in `method_missing'
2012-04-18T13:59:38+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/thin-1.3.1/lib/thin/backends/base.rb:61:in `start'
2012-04-18T13:59:38+00:00 app[web.1]: cache: [GET /] miss
2012-04-18T13:59:38+00:00 app[web.1]: cache: [GET /favicon.ico] miss, store
2012-04-18T13:59:38+00:00 heroku[router]: GET k6skrd.herokuapp.com/favicon.ico dyno=web.1 queue=0 wait=0ms service=7ms status=200 bytes=0
2012-04-18T14:01:49+00:00 heroku[web.1]: State changed from up to bouncing
2012-04-18T14:01:49+00:00 heroku[web.1]: State changed from bouncing to created
2012-04-18T14:01:49+00:00 heroku[web.1]: State changed from created to starting
2012-04-18T14:01:51+00:00 heroku[web.1]: Stopping process with SIGTERM
2012-04-18T14:01:57+00:00 heroku[web.1]: Starting process with command `bundle exec thin start -R config.ru -e production -p 13819`
2012-04-18T14:01:59+00:00 app[web.1]: DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/01/04/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /app/config/environment.rb:5)
2012-04-18T14:01:59+00:00 app[web.1]: DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/01/04/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /app/config/environment.rb:5)
2012-04-18T14:02:01+00:00 heroku[web.1]: Error R12 (Exit timeout) -> Process failed to exit within 10 seconds of SIGTERM
2012-04-18T14:02:01+00:00 heroku[web.1]: Stopping process with SIGKILL
2012-04-18T14:02:03+00:00 heroku[web.1]: Process exited with status 137
2012-04-18T14:02:03+00:00 app[web.1]: >> Thin web server (v1.3.1 codename Triple Espresso)
2012-04-18T14:02:03+00:00 app[web.1]: >> Maximum connections set to 1024
2012-04-18T14:02:03+00:00 app[web.1]: >> Listening on 0.0.0.0:13819, CTRL+C to stop
2012-04-18T14:02:04+00:00 heroku[web.1]: State changed from starting to up
Your help will be much appreciated. Thankyou in advance for any help you would offer.

hmm i just went to your site and it is down, but got a weird 404 page. check the logs and see now. also, try restarting. it sounds dumb, but who knows. Maybe your Thin setup is wrong too?

test to remove the gem 'thin' from Gemfile

Related

Ruby on Rails - devise error with heroku

Everything was fine when I use localhost:3000, and I can visit localhost:3000/users/sign_in.
However, after I push to heroku, I can't visit this page and other pages which were created by devise and show this
Here is my Gemfile
source 'https://rubygems.org'
gem 'rails', '4.1.8'
gem 'pg'
gem 'rails_12factor', group: :production
gem 'sass-rails', '~> 4.0.3'
gem 'uglifier', '>= 1.3.0'
gem 'coffee-rails', '~> 4.0.0'
gem 'jquery-rails'
gem 'turbolinks'
gem 'jbuilder', '~> 2.0'
gem 'sdoc', '~> 0.4.0', group: :doc
gem 'spring', group: :development
gem 'devise'
gem 'bcrypt'
gem 'bootstrap-sass', '~> 3.3.5'
gem 'rails_bootstrap_navbar'
Here is heroku log
2015-07-16T16:35:48.081619+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/connection_adapters/postgresql_adapter.rb:822:in `exec_no_cache'
2015-07-16T16:35:48.081621+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/connection_adapters/postgresql/database_statements.rb:137:in `exec_query'
2015-07-16T16:35:48.081622+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/connection_adapters/postgresql_adapter.rb:976:in `column_definitions'
2015-07-16T16:35:48.081623+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/connection_adapters/postgresql/schema_statements.rb:187:in `columns'
2015-07-16T16:35:48.081625+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/connection_adapters/schema_cache.rb:93:in `block in prepare_default_proc'
2015-07-16T16:35:48.081626+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/connection_adapters/schema_cache.rb:44:in `yield'
2015-07-16T16:35:48.081627+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/connection_adapters/schema_cache.rb:44:in `columns'
2015-07-16T16:35:48.081629+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/model_schema.rb:214:in `columns'
2015-07-16T16:35:48.081630+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/model_schema.rb:223:in `columns_hash'
2015-07-16T16:35:48.081632+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/inheritance.rb:180:in `subclass_from_attributes?'
2015-07-16T16:35:48.081633+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/inheritance.rb:23:in `new'
2015-07-16T16:35:48.081634+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/devise-3.5.1/lib/devise/models/registerable.rb:20:in `new_with_session'
2015-07-16T16:35:48.081640+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.8/lib/abstract_controller/base.rb:189:in `process_action'
2015-07-16T16:35:48.081642+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.8/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
2015-07-16T16:35:48.081643+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:113:in `call'
2015-07-16T16:35:48.081641+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.8/lib/action_controller/metal/rendering.rb:10:in `process_action'
2015-07-16T16:35:48.081638+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.8/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
2015-07-16T16:35:48.081649+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:166:in `call'
2015-07-16T16:35:48.081636+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/devise-3.5.1/app/controllers/devise/registrations_controller.rb:100:in `build_resource'
2015-07-16T16:35:48.081656+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:166:in `call'
2015-07-16T16:35:48.081637+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/devise-3.5.1/app/controllers/devise/registrations_controller.rb:7:in `new'
2015-07-16T16:35:48.081648+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:229:in `block in halting'
2015-07-16T16:35:48.081644+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:113:in `call'
2015-07-16T16:35:48.081645+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:229:in `block in halting'
2015-07-16T16:35:48.081659+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:166:in `block in halting'
2015-07-16T16:35:48.081647+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:229:in `call'
2015-07-16T16:35:48.081655+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:166:in `block in halting'
2015-07-16T16:35:48.081657+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:166:in `block in halting'
2015-07-16T16:35:48.081662+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:166:in `block in halting'
2015-07-16T16:35:48.081661+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:166:in `call'
2015-07-16T16:35:48.081665+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:149:in `call'
2015-07-16T16:35:48.081663+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:149:in `call'
2015-07-16T16:35:48.081658+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:166:in `call'
2015-07-16T16:35:48.081664+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
2015-07-16T16:35:48.081669+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:86:in `run_callbacks'
2015-07-16T16:35:48.081671+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.8/lib/abstract_controller/callbacks.rb:19:in `process_action'
2015-07-16T16:35:48.081668+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:86:in `call'
2015-07-16T16:35:48.081667+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
2015-07-16T16:35:48.081672+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.8/lib/action_controller/metal/rescue.rb:29:in `process_action'
2015-07-16T16:35:48.081676+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2015-07-16T16:35:48.081673+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.8/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
2015-07-16T16:35:48.081674+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/notifications.rb:159:in `block in instrument'
2015-07-16T16:35:48.081677+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/notifications.rb:159:in `instrument'
2015-07-16T16:35:48.081681+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2015-07-16T16:35:48.081678+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.8/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
2015-07-16T16:35:48.081680+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.8/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
2015-07-16T16:35:48.081682+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.8/lib/abstract_controller/base.rb:136:in `process'
2015-07-16T16:35:48.081684+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionview-4.1.8/lib/action_view/rendering.rb:30:in `process'
2015-07-16T16:35:48.081686+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.8/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
2015-07-16T16:35:48.081685+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.8/lib/action_controller/metal.rb:196:in `dispatch'
2015-07-16T16:35:48.081687+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.8/lib/action_controller/metal.rb:232:in `block in action'
2015-07-16T16:35:48.081689+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.8/lib/action_dispatch/routing/route_set.rb:82:in `call'
2015-07-16T16:35:48.081690+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.8/lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
2015-07-16T16:35:48.081691+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.8/lib/action_dispatch/routing/route_set.rb:50:in `call'
2015-07-16T16:35:48.081692+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.8/lib/action_dispatch/routing/mapper.rb:45:in `call'
2015-07-16T16:35:48.081693+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.8/lib/action_dispatch/journey/router.rb:73:in `block in call'
2015-07-16T16:35:48.081696+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.8/lib/action_dispatch/journey/router.rb:59:in `call'
2015-07-16T16:35:48.081695+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.8/lib/action_dispatch/journey/router.rb:59:in `each'
2015-07-16T16:35:48.081697+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.8/lib/action_dispatch/routing/route_set.rb:678:in `call'
2015-07-16T16:35:48.081698+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/warden-1.2.3/lib/warden/manager.rb:35:in `block in call'
2015-07-16T16:35:48.081700+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/warden-1.2.3/lib/warden/manager.rb:34:in `catch'
2015-07-16T16:35:48.081701+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/warden-1.2.3/lib/warden/manager.rb:34:in `call'
2015-07-16T16:35:48.081702+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'
2015-07-16T16:35:48.081707+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'
2015-07-16T16:35:48.081709+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'
2015-07-16T16:35:48.081710+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.8/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
2015-07-16T16:35:48.081711+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.8/lib/action_dispatch/middleware/flash.rb:254:in `call'
2015-07-16T16:35:48.081712+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'
2015-07-16T16:35:48.081714+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'
2015-07-16T16:35:48.081715+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.8/lib/action_dispatch/middleware/cookies.rb:560:in `call'
2015-07-16T16:35:48.081716+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/query_cache.rb:36:in `call'
2015-07-16T16:35:48.081717+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
2015-07-16T16:35:48.081728+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.8/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
2015-07-16T16:35:48.081729+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:82:in `run_callbacks'
2015-07-16T16:35:48.081730+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.8/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2015-07-16T16:35:48.081731+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.8/lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
2015-07-16T16:35:48.081733+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.8/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
2015-07-16T16:35:48.081734+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.8/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2015-07-16T16:35:48.081735+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.1.8/lib/rails/rack/logger.rb:38:in `call_app'
2015-07-16T16:35:48.081736+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.1.8/lib/rails/rack/logger.rb:20:in `block in call'
2015-07-16T16:35:48.081738+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/tagged_logging.rb:68:in `block in tagged'
2015-07-16T16:35:48.081739+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/tagged_logging.rb:26:in `tagged'
2015-07-16T16:35:48.081740+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/tagged_logging.rb:68:in `tagged'
2015-07-16T16:35:48.081743+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.8/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2015-07-16T16:35:48.081742+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.1.8/lib/rails/rack/logger.rb:20:in `call'
2015-07-16T16:35:48.081744+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'
2015-07-16T16:35:48.081746+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'
2015-07-16T16:35:48.081747+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
2015-07-16T16:35:48.081748+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.8/lib/action_dispatch/middleware/static.rb:84:in `call'
2015-07-16T16:35:48.081750+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'
2015-07-16T16:35:48.081751+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.1.8/lib/rails/engine.rb:514:in `call'
2015-07-16T16:35:48.081752+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.1.8/lib/rails/application.rb:144:in `call'
2015-07-16T16:35:48.081754+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.5/lib/rack/lock.rb:17:in `call'
2015-07-16T16:35:48.081755+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.5/lib/rack/content_length.rb:14:in `call'
2015-07-16T16:35:48.081756+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.5/lib/rack/handler/webrick.rb:60:in `service'
2015-07-16T16:35:48.081758+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2015-07-16T16:35:48.081759+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2015-07-16T16:35:48.081763+00:00 app[web.1]:
2015-07-16T16:35:48.081760+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
2015-07-16T16:35:48.081762+00:00 app[web.1]:
2015-07-16T16:35:51.501741+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=intelligent-madame-5204.herokuapp.com request_id=46eca4a7-c0ce-4dbf-bfb1-651fb7ae201b fwd="180.218.172.11" dyno=web.1 connect=3ms service=5ms status=304 bytes=133
Solution
heroku run rake db:migrate
I think you need to migrate your database.
$ heroku run rake db:migrate --app your_app
This is a common step to forget when when deploying to Heroku.

Heroku 500 error

In production.rb I have the following single line for config.action_mailer..
config.action_mailer.default_url_options = { :host => 'secret-brushlands- 1375.herokuapp.com' }
In Development.rb I have (this seems to work BTW)
config.action_mailer.perform_deliveries = true
config.action_mailer.default_url_options = { :host => 'localhost:3000'}
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {:address => "localhost", :port => 1025}
In Environment.rb I have:
ActionMailer::Base.smtp_settings = {
:address => 'smtp.sendgrid.net',
:port => '587',
:authentication => :plain,
:user_name => ENV['sendgrid user'],
:password => ENV['sendgrid password'],
:domain => 'heroku.com',
:enable_starttls_auto => true
}
We're sorry, but something went wrong.
For some reason I am getting this error with my heroku app (this is only
happening with the users portion when I try to sign_up, the other model
functionality on postgresql seems to be cool) - I have done a heroku
pg:reset
heroku run rake:db:migrate, etc.. but to no avail.
Here is my gem file:
source 'https://rubygems.org'
gem 'rails', '4.1.0'
gem 'pg'
gem 'foundation-rails'
gem 'rails_12factor', group: :production
gem 'devise'
gem 'sass-rails', '~> 4.0.3'
gem 'uglifier', '>= 1.3.0'
gem 'coffee-rails', '~> 4.0.0'
gem 'jquery-rails'
gem 'turbolinks'
gem 'jbuilder', '~> 2.0'
gem 'sdoc', '~> 0.4.0', group: :doc
gem 'tzinfo'
gem 'tzinfo-data'
And here is the heroku log:
2014-04-24T17:34:53.598955+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
iverecord-4.1.0/lib/active_record/transactions.rb:329:in `block in
with_transact
ion_returning_status'
2014-04-24T17:34:53.598952+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
iverecord-4.1.0/lib/active_record/attribute_methods/dirty.rb:21:in
`save'
2014-04-24T17:34:53.598961+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
iverecord-4.1.0/lib/active_record/connection_adapters/abstract/database_statemen
ts.rb:211:in `transaction'
2014-04-24T17:34:53.598957+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
iverecord-4.1.0/lib/active_record/connection_adapters/abstract/database_statemen
ts.rb:211:in `block in transaction'
2014-04-24T17:34:53.598959+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
iverecord-4.1.0/lib/active_record/connection_adapters/abstract/database_statemen
ts.rb:219:in `within_new_transaction'
2014-04-24T17:34:53.599212+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
iverecord-4.1.0/lib/active_record/transactions.rb:326:in
`with_transaction_retur
ning_status'
2014-04-24T17:34:53.599214+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
iverecord-4.1.0/lib/active_record/transactions.rb:268:in `block in save'
2014-04-24T17:34:53.599209+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
iverecord-4.1.0/lib/active_record/transactions.rb:208:in `transaction'
2014-04-24T17:34:53.599215+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
iverecord-4.1.0/lib/active_record/transactions.rb:283:in
`rollback_active_record
_state!'
2014-04-24T17:34:53.599228+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ivesupport-4.1.0/lib/active_support/callbacks.rb:229:in `block in
halting'
2014-04-24T17:34:53.599218+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/dev
ise-3.2.4/app/controllers/devise/registrations_controller.rb:15:in
`create'
2014-04-24T17:34:53.599223+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ionpack-4.1.0/lib/action_controller/metal/rendering.rb:10:in
`process_action'
2014-04-24T17:34:53.599220+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ionpack-4.1.0/lib/action_controller/metal/implicit_render.rb:4:in
`send_action'
2014-04-24T17:34:53.599231+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ivesupport-4.1.0/lib/active_support/callbacks.rb:229:in `block in
halting'
2014-04-24T17:34:53.599217+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
iverecord-4.1.0/lib/active_record/transactions.rb:267:in `save'
2014-04-24T17:34:53.599224+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ionpack-4.1.0/lib/abstract_controller/callbacks.rb:20:in `block in
process_actio
n'
2014-04-24T17:34:53.599230+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ivesupport-4.1.0/lib/active_support/callbacks.rb:229:in `call'
2014-04-24T17:34:53.599233+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ivesupport-4.1.0/lib/active_support/callbacks.rb:166:in `call'
2014-04-24T17:34:53.599227+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ivesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call'
2014-04-24T17:34:53.599221+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ionpack-4.1.0/lib/abstract_controller/base.rb:189:in `process_action'
2014-04-24T17:34:53.599225+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ivesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call'
2014-04-24T17:34:53.599234+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ivesupport-4.1.0/lib/active_support/callbacks.rb:166:in `block in
halting'
2014-04-24T17:34:53.599237+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ivesupport-4.1.0/lib/active_support/callbacks.rb:166:in `block in
halting'
2014-04-24T17:34:53.599239+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ivesupport-4.1.0/lib/active_support/callbacks.rb:166:in `call'
2014-04-24T17:34:53.599236+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ivesupport-4.1.0/lib/active_support/callbacks.rb:166:in `call'
2014-04-24T17:34:53.599258+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ivesupport-4.1.0/lib/active_support/callbacks.rb:166:in `call'
2014-04-24T17:34:53.599262+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ivesupport-4.1.0/lib/active_support/callbacks.rb:149:in `block in
halting_and_co
nditional'
2014-04-24T17:34:53.599260+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ivesupport-4.1.0/lib/active_support/callbacks.rb:149:in `call'
2014-04-24T17:34:53.599263+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ivesupport-4.1.0/lib/active_support/callbacks.rb:149:in `call'
2014-04-24T17:34:53.599256+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ivesupport-4.1.0/lib/active_support/callbacks.rb:166:in `block in
halting'
2014-04-24T17:34:53.599266+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ivesupport-4.1.0/lib/active_support/callbacks.rb:86:in `call'
2014-04-24T17:34:53.599265+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ivesupport-4.1.0/lib/active_support/callbacks.rb:149:in `block in
halting_and_co
nditional'
2014-04-24T17:34:53.599276+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ionpack-4.1.0/lib/abstract_controller/callbacks.rb:19:in
`process_action'
2014-04-24T17:34:53.599259+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ivesupport-4.1.0/lib/active_support/callbacks.rb:166:in `block in
halting'
2014-04-24T17:34:53.599268+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ivesupport-4.1.0/lib/active_support/callbacks.rb:86:in `run_callbacks'
2014-04-24T17:34:53.599278+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ionpack-4.1.0/lib/action_controller/metal/rescue.rb:29:in
`process_action'
2014-04-24T17:34:53.599282+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ivesupport-4.1.0/lib/active_support/notifications/instrumenter.rb:20:in
`instrum
ent'
2014-04-24T17:34:53.599286+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ionpack-4.1.0/lib/action_controller/metal/params_wrapper.rb:250:in
`process_acti
on'
2014-04-24T17:34:53.599284+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ivesupport-4.1.0/lib/active_support/notifications.rb:159:in `instrument'
2014-04-24T17:34:53.599281+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ivesupport-4.1.0/lib/active_support/notifications.rb:159:in `block in
instrument
'
2014-04-24T17:34:53.599279+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:31:in
`block in pro
cess_action'
2014-04-24T17:34:53.599322+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
iverecord-4.1.0/lib/active_record/railties/controller_runtime.rb:18:in
`process_
action'
2014-04-24T17:34:53.599325+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ionview-4.1.0/lib/action_view/rendering.rb:30:in `process'
2014-04-24T17:34:53.599285+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ionpack-4.1.0/lib/action_controller/metal/instrumentation.rb:30:in
`process_acti
on'
2014-04-24T17:34:53.599324+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ionpack-4.1.0/lib/abstract_controller/base.rb:136:in `process'
2014-04-24T17:34:53.599327+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ionpack-4.1.0/lib/action_controller/metal.rb:195:in `dispatch'
2014-04-24T17:34:53.599332+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ionpack-4.1.0/lib/action_dispatch/routing/route_set.rb:80:in `call'
2014-04-24T17:34:53.599338+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ionpack-4.1.0/lib/action_dispatch/routing/mapper.rb:45:in `call'
2014-04-24T17:34:53.599341+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ionpack-4.1.0/lib/action_dispatch/journey/router.rb:71:in `block in
call'
2014-04-24T17:34:53.599330+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ionpack-4.1.0/lib/action_controller/metal.rb:231:in `block in action'
2014-04-24T17:34:53.599329+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ionpack-4.1.0/lib/action_controller/metal/rack_delegation.rb:13:in
`dispatch'
2014-04-24T17:34:53.599334+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ionpack-4.1.0/lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
2014-04-24T17:34:53.599345+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ionpack-4.1.0/lib/action_dispatch/journey/router.rb:59:in `call'
2014-04-24T17:34:53.599336+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ionpack-4.1.0/lib/action_dispatch/routing/route_set.rb:48:in `call'
2014-04-24T17:34:53.599343+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ionpack-4.1.0/lib/action_dispatch/journey/router.rb:59:in `each'
2014-04-24T17:34:53.599347+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ionpack-4.1.0/lib/action_dispatch/routing/route_set.rb:676:in `call'
2014-04-24T17:34:53.599355+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/war
den-1.2.3/lib/warden/manager.rb:34:in `catch'
2014-04-24T17:34:53.599357+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/war
den-1.2.3/lib/warden/manager.rb:34:in `call'
2014-04-24T17:34:53.599363+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/rac
k-1.5.2/lib/rack/head.rb:11:in `call'
2014-04-24T17:34:53.599353+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/war
den-1.2.3/lib/warden/manager.rb:35:in `block in call'
2014-04-24T17:34:53.599359+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/rac
k-1.5.2/lib/rack/etag.rb:23:in `call'
2014-04-24T17:34:53.599369+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/rac
k-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
2014-04-24T17:34:53.599361+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/rac
k-1.5.2/lib/rack/conditionalget.rb:35:in `call'
2014-04-24T17:34:53.599367+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ionpack-4.1.0/lib/action_dispatch/middleware/flash.rb:254:in `call'
2014-04-24T17:34:53.599370+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/rac
k-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
2014-04-24T17:34:53.599365+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ionpack-4.1.0/lib/action_dispatch/middleware/params_parser.rb:27:in
`call'
2014-04-24T17:34:53.599376+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
iverecord-4.1.0/lib/active_record/connection_adapters/abstract/connection_pool.r
b:621:in `call'
2014-04-24T17:34:53.599372+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ionpack-4.1.0/lib/action_dispatch/middleware/cookies.rb:560:in `call'
2014-04-24T17:34:53.599374+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
iverecord-4.1.0/lib/active_record/query_cache.rb:36:in `call'
2014-04-24T17:34:53.599389+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ionpack-4.1.0/lib/action_dispatch/middleware/show_exceptions.rb:30:in
`call'
2014-04-24T17:34:53.599380+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ivesupport-4.1.0/lib/active_support/callbacks.rb:82:in `run_callbacks'
2014-04-24T17:34:53.599384+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ionpack-4.1.0/lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
2014-04-24T17:34:53.599382+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ionpack-4.1.0/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2014-04-24T17:34:53.599378+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ionpack-4.1.0/lib/action_dispatch/middleware/callbacks.rb:29:in `block
in call'
2014-04-24T17:34:53.599391+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/rai
lties-4.1.0/lib/rails/rack/logger.rb:38:in `call_app'
2014-04-24T17:34:53.599386+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ionpack-4.1.0/lib/action_dispatch/middleware/debug_exceptions.rb:17:in
`call'
2014-04-24T17:34:53.599393+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/rai
lties-4.1.0/lib/rails/rack/logger.rb:20:in `block in call'
2014-04-24T17:34:53.599398+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ivesupport-4.1.0/lib/active_support/tagged_logging.rb:26:in `tagged'
2014-04-24T17:34:53.599396+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ivesupport-4.1.0/lib/active_support/tagged_logging.rb:68:in `block in
tagged'
2014-04-24T17:34:53.599440+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/rac
k-1.5.2/lib/rack/methodoverride.rb:21:in `call'
2014-04-24T17:34:53.599488+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/rac
k-1.5.2/lib/rack/runtime.rb:17:in `call'
2014-04-24T17:34:53.599433+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ionpack-4.1.0/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2014-04-24T17:34:53.599414+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/rai
lties-4.1.0/lib/rails/rack/logger.rb:20:in `call'
2014-04-24T17:34:53.599400+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ivesupport-4.1.0/lib/active_support/tagged_logging.rb:68:in `tagged'
2014-04-24T17:34:53.599493+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ionpack-4.1.0/lib/action_dispatch/middleware/static.rb:64:in `call'
2014-04-24T17:34:53.599491+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ivesupport-4.1.0/lib/active_support/cache/strategy/local_cache_middleware.rb:26:
in `call'
2014-04-24T17:34:53.599495+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/rac
k-1.5.2/lib/rack/sendfile.rb:112:in `call'
2014-04-24T17:34:53.599497+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/rai
lties-4.1.0/lib/rails/engine.rb:514:in `call'
2014-04-24T17:34:53.599499+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/rai
lties-4.1.0/lib/rails/application.rb:144:in `call'
2014-04-24T17:34:53.599501+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/rac
k-1.5.2/lib/rack/lock.rb:17:in `call'
2014-04-24T17:34:53.599503+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/rac
k-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
2014-04-24T17:34:53.599502+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/rac
k-1.5.2/lib/rack/content_length.rb:14:in `call'
2014-04-24T17:34:53.599506+00:00 app[web.1]:
vendor/ruby-2.0.0/lib/ruby/2.0.0/
webrick/httpserver.rb:94:in `run'
2014-04-24T17:34:53.599505+00:00 app[web.1]:
vendor/ruby-2.0.0/lib/ruby/2.0.0/
webrick/httpserver.rb:138:in `service'
2014-04-24T17:34:53.599509+00:00 app[web.1]:
2014-04-24T17:34:53.599508+00:00 app[web.1]:
vendor/ruby-2.0.0/lib/ruby/2.0.0/
webrick/server.rb:295:in `block in start_thread'
2014-04-24T17:34:53.599510+00:00 app[web.1]:
2014-04-24T17:34:53.588804+00:00 app[web.1]:
2014-04-24T17:34:53.588813+00:00 app[web.1]: Sent mail to
tstevens_21#earthlink.
net (66.7ms)
2014-04-24T17:34:53.595347+00:00 app[web.1]: Completed 500 Internal
Server Error
in 389ms
2014-04-24T17:34:53.600317+00:00 heroku[router]: at=info method=POST
path=/users
host=secret-brushlands-1375.herokuapp.com
request_id=052e3b18-a726-49ae-b816-1b
b5b13c8367 fwd="216.40.153.100" dyno=web.1 connect=3ms service=408ms
status=500
bytes=1754
I am using Devise, and I have installed SendGrid on Heroku. Haven't seen
the email confirmation yet. Any help appreciated.
Thank you,
In the config/environment.rb file, change the configuration of smtp_settings as below:
ActionMailer::Base.smtp_settings = {
:address => 'smtp.sendgrid.net',
:port => '587',
:authentication => :plain,
:user_name => ENV['SENDGRID_USERNAME'], ## Refer to key SENDGRID_USERNAME
:password => ENV['SENDGRID_PASSWORD'], ## Refer to key SENDGRID_PASSWORD
:domain => 'heroku.com',
:enable_starttls_auto => true
}
After this add the environment variables SENDGRID_USERNAME and SENDGRID_PASSWORD in heroku environment by running:
heroku addons:add sendgrid:starter

Ruby on Rails App deployed to heroku showing "We're sorry, but something went wrong"

I'm still quite a newb to this, but to provide some background:
I built up a decent app and followed the proper steps to deploy it to Heroku, when I run the 'Heroku open' command, I get:
*"We're sorry, but something went wrong."
(in the opened window.)
Hope we can solve this! I've attached the Heroku logs:
To git#heroku.com:startupblog.git
390c9dc..37f5a3d master -> master
[StartupBlog]$heroku open
Opening startupblog... done
[StartupBlog]$heroku log
! `log` is not a heroku command.
! Perhaps you meant `logs`.
! See `heroku help` for a list of available commands.
[StartupBlog]$heroku logs
2013-02-26T08:25:42+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
2013-02-26T08:25:42+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:405:in `_run__3231968123246769760__call__1023772550130159371__callbacks'
2013-02-26T08:25:42+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
2013-02-26T08:25:42+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:405:in `__run_callback'
2013-02-26T08:25:42+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
2013-02-26T08:25:42+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:81:in `run_callbacks'
2013-02-26T08:25:42+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2013-02-26T08:25:42+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
2013-02-26T08:25:42+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
2013-02-26T08:25:42+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/rack/logger.rb:32:in `call_app'
2013-02-26T08:25:42+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.11/lib/active_support/tagged_logging.rb:22:in `tagged'
2013-02-26T08:25:42+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/rack/logger.rb:16:in `call'
2013-02-26T08:25:42+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/action_dispatch/middleware/request_id.rb:22:in `call'
2013-02-26T08:25:42+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'
2013-02-26T08:25:42+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.11/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
2013-02-26T08:25:42+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'
2013-02-26T08:25:42+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/action_dispatch/middleware/static.rb:62:in `call'
2013-02-26T08:25:42+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward'
2013-02-26T08:25:42+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/rack/logger.rb:16:in `block in call'
2013-02-26T08:25:42+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'
2013-02-26T08:25:42+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:in `lookup'
2013-02-26T08:25:42+00:00 app[web.1]:
2013-02-26T08:25:42+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in `fetch'
2013-02-26T08:25:42+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in `call!'
2013-02-26T08:25:42+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call'
2013-02-26T08:25:42+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/engine.rb:479:in `call'
2013-02-26T08:25:42+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/application.rb:223:in `call'
2013-02-26T08:25:42+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/rack/log_tailer.rb:17:in `call'
2013-02-26T08:25:42+00:00 app[web.1]: /usr/local/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
2013-02-26T08:25:42+00:00 app[web.1]:
2013-02-26T08:25:42+00:00 app[web.1]: /usr/local/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
2013-02-26T08:25:42+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/content_length.rb:14:in `call'
2013-02-26T08:25:42+00:00 app[web.1]: /usr/local/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
2013-02-26T08:25:42+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/handler/webrick.rb:59:in `service'
2013-02-26T08:30:59+00:00 heroku[slugc]: Slug compilation started
2013-02-26T08:31:30+00:00 heroku[api]: Release v7 created by anthony.panepinto101#gmail.com
2013-02-26T08:31:30+00:00 heroku[api]: Deploy 37f5a3d by anthony.panepinto101#gmail.com
2013-02-26T08:31:30+00:00 heroku[web.1]: State changed from up to starting
2013-02-26T08:31:31+00:00 heroku[slugc]: Slug compilation finished
2013-02-26T08:31:32+00:00 heroku[web.1]: Starting process with command `bundle exec rails server -p 41761`
2013-02-26T08:31:34+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2013-02-26T08:31:35+00:00 app[web.1]: [2013-02-26 08:31:35] ERROR SignalException: SIGTERM
2013-02-26T08:31:35+00:00 app[web.1]: /usr/local/lib/ruby/1.9.1/webrick/server.rb:90:in `select'
2013-02-26T08:31:36+00:00 app[web.1]: DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /app/config/environment.rb:5)
2013-02-26T08:31:36+00:00 app[web.1]: DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /app/config/environment.rb:5)
2013-02-26T08:31:40+00:00 app[web.1]: [2013-02-26 08:31:40] INFO WEBrick 1.3.1
2013-02-26T08:31:40+00:00 app[web.1]: [2013-02-26 08:31:40] INFO ruby 1.9.2 (2011-07-09) [x86_64-linux]
2013-02-26T08:31:40+00:00 app[web.1]: [2013-02-26 08:31:40] INFO WEBrick::HTTPServer#start: pid=2 port=41761
2013-02-26T08:31:41+00:00 heroku[web.1]: State changed from starting to up
2013-02-26T08:31:45+00:00 heroku[web.1]: Error R12 (Exit timeout) -> At least one process failed to exit within 10 seconds of SIGTERM
2013-02-26T08:31:45+00:00 heroku[web.1]: Stopping remaining processes with SIGKILL
2013-02-26T08:31:46+00:00 app[web.1]: => Call with -d to detach
2013-02-26T08:31:46+00:00 app[web.1]: => Ctrl-C to shutdown server
2013-02-26T08:31:46+00:00 app[web.1]: => Booting WEBrick
2013-02-26T08:31:46+00:00 app[web.1]: => Rails 3.2.11 application starting in production on http://0.0.0.0:41761
2013-02-26T08:31:46+00:00 app[web.1]: Started GET "/" for 174.95.207.136 at 2013-02-26 08:31:46 +0000
2013-02-26T08:31:47+00:00 heroku[web.1]: Process exited with status 137
2013-02-26T08:31:47+00:00 app[web.1]: Connecting to database specified by DATABASE_URL
2013-02-26T08:31:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/query_cache.rb:67:in `rescue in call'
2013-02-26T08:31:47+00:00 heroku[router]: at=info method=GET path=/ host=startupblog.herokuapp.com fwd="174.95.207.136" dyno=web.1 queue=0 wait=0ms connect=2ms service=1011ms status=500 bytes=643
2013-02-26T08:31:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
2013-02-26T08:31:47+00:00 app[web.1]:
2013-02-26T08:31:47+00:00 app[web.1]: ActiveRecord::ConnectionNotEstablished (ActiveRecord::ConnectionNotEstablished):
2013-02-26T08:31:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:410:in `retrieve_connection'
2013-02-26T08:31:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_specification.rb:171:in `retrieve_connection'
2013-02-26T08:31:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_specification.rb:145:in `connection'
2013-02-26T08:31:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/action_dispatch/middleware/request_id.rb:22:in `call'
2013-02-26T08:31:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'
2013-02-26T08:31:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
2013-02-26T08:31:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/action_dispatch/middleware/static.rb:62:in `call'
2013-02-26T08:31:47+00:00 app[web.1]: vendor/bundl
e/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call'
2013-02-26T08:31:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/rack/logger.rb:32:in `call_app'
2013-02-26T08:31:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward'
2013-02-26T08:31:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in `call!'
2013-02-26T08:31:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:405:in `_run__646234206873509914__call__2059469811213840144__callbacks'
2013-02-26T08:31:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
2013-02-26T08:31:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'
2013-02-26T08:31:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:405:in `__run_callback'
2013-02-26T08:31:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/handler/webrick.rb:59:in `service'
2013-02-26T08:31:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'
2013-02-26T08:31:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
2013-02-26T08:31:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/rack/log_tailer.rb:17:in `call'
2013-02-26T08:31:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/content_length.rb:14:in `call'
2013-02-26T08:31:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/rack/logger.rb:16:in `block in call'
2013-02-26T08:31:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/query_cache.rb:61:in `call'
2013-02-26T08:31:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
2013-02-26T08:31:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/engine.rb:479:in `call'
2013-02-26T08:31:47+00:00 app[web.1]: /usr/local/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
2013-02-26T08:31:47+00:00 app[web.1]: /usr/local/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
2013-02-26T08:31:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2013-02-26T08:31:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.11/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
2013-02-26T08:31:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:in `lookup'
2013-02-26T08:31:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in `fetch'
2013-02-26T08:31:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:81:in `run_callbacks'
2013-02-26T08:31:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.11/lib/active_support/tagged_logging.rb:22:in `tagged'
2013-02-26T08:31:47+00:00 app[web.1]:
2013-02-26T08:31:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/application.rb:223:in `call'
2013-02-26T08:31:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
2013-02-26T08:31:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/rack/logger.rb:16:in `call'
2013-02-26T08:31:47+00:00 app[web.1]: /usr/local/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
2013-02-26T08:31:47+00:00 app[web.1]:
Gemfile contents:
source 'https://rubygems.org'
gem 'rails', '3.2.11'
group :development do
gem 'sqlite3', '1.3.5'
end
# Gems used only for assets and not required
# in production environments by default.
group :assets do
gem 'sass-rails', '3.2.5'
gem 'bootstrap-sass', '~> 2.3.0.1'
gem 'coffee-rails', '3.2.2'
gem 'uglifier', '1.2.3'
end
gem 'jquery-rails', '2.0.2'
You should create a production database (probably pg) and then initiate the database. You should probably run heroku run rake db:migrate

Heroku deployment issues - 500 Internal Server Error

I've searched all over stack overflow and the web and tried various fixes but I'm still unable to get my rails app running on heroku. I am consistently receiving the "We're sorry, but something went wrong." error from heroku.
The app runs fine in my local environment.
I've done the following:
Run "heroku rake run db:migrate"
Verified that my assets are being compiled correctly: https://devcenter.heroku.com/articles/rails3x-asset-pipeline-cedar
Implemented Thin server and created a procfile as referenced here: https://devcenter.heroku.com/articles/rails3
I would really appreciate your help in analyzing my heroku logs file (below) to figure out what's causing this error.
My app is running on Rails 3.2.7, Ruby 1.9.3 and uses postgres as the db
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.7/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.7/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.7/lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/ruby-1.9.3/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/benchmark.rb:5:in `ms'
2012-08-28T17:55:58+00:00 heroku[router]: GET glacial-headland-3472.herokuapp.com/ dyno=web.1 queue=0 wait=0ms service=267ms status=500 bytes=643
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.7/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.7/lib/action_controller/metal/instrumentation.rb:39:in `render'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.7/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.7/lib/action_controller/metal/implicit_render.rb:5:in `send_action'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.7/lib/abstract_controller/base.rb:167:in `process_action'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.7/lib/action_controller/metal/rendering.rb:10:in `process_action'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.7/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.7/lib/active_support/callbacks.rb:414:in `_run__3080287486243242199__process_action__1142231311061748289__callbacks'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.7/lib/active_support/callbacks.rb:405:in `__run_callback'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.7/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.7/lib/abstract_controller/callbacks.rb:17:in `process_action'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.7/lib/action_controller/metal/rescue.rb:29:in `process_action'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.7/lib/active_support/callbacks.rb:81:in `run_callbacks'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.7/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.7/lib/active_support/notifications.rb:123:in `block in instrument'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.7/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.7/lib/active_support/notifications.rb:123:in `instrument'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.7/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.7/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.7/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.7/lib/abstract_controller/rendering.rb:45:in `process'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.7/lib/action_controller/metal.rb:246:in `block in action'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.7/lib/abstract_controller/base.rb:121:in `process'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.7
/lib/action_controller/metal.rb:203:in `dispatch'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.7/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.7/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.7/lib/action_dispatch/routing/route_set.rb:73:in `call'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.7/lib/action_dispatch/routing/route_set.rb:36:in `call'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.7/lib/action_dispatch/routing/route_set.rb:600:in `call'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/warden-1.2.1/lib/warden/manager.rb:35:in `block in call'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/warden-1.2.1/lib/warden/manager.rb:34:in `call'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/warden-1.2.1/lib/warden/manager.rb:34:in `catch'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.7/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/etag.rb:23:in `call'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.7/lib/action_dispatch/middleware/head.rb:14:in `call'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/conditionalget.rb:25:in `call'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.7/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.7/lib/action_dispatch/middleware/flash.rb:242:in `call'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:in `context'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.7/lib/action_dispatch/middleware/cookies.rb:338:in `call'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:in `call'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.7/lib/active_record/query_cache.rb:64:in `call'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.7/lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.7/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.7/lib/active_support/callbacks.rb:405:in `_run__1576820621715372704__call__3414544984041752206__callbacks'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.7/lib/active_support/callbacks.rb:405:in `__run_callback'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.7/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.7/lib/active_support/callbacks.rb:81:in `run_callbacks'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.7/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.7/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.7/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.7/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.7/lib/rails/rack/logger.rb:26:in `call_app'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.7/lib/rails/rack/logger.rb:16:in `call'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.7/lib/action_dispatch/middleware/request_id.rb:22:in `call'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/runtime.rb:17:in `call'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/lock.rb:15:in `call'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.7/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.7/lib/action_dispatch/middleware/static.rb:62:in `call'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in `fetch'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in `call!'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:in `lookup'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.7/lib/rails/engine.rb:479:in `call'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/content_length.rb:14:in `call'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.7/lib/rails/application.rb:220:in `call'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.7/lib/rails/rack/log_tailer.rb:17:in `call'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/thin-1.4.1/lib/thin/connection.rb:80:in `block in pre_process'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/thin-1.4.1/lib/thin/connection.rb:78:in `catch'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/thin-1.4.1/lib/thin/connection.rb:78:in `pre_process'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/thin-1.4.1/lib/thin/connection.rb:53:in `process'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/thin-1.4.1/lib/thin/connection.rb:38:in `receive_data'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run_machine'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/thin-1.4.1/lib/thin/server.rb:159:in `start'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/thin-1.4.1/lib/thin/backends/base.rb:63:in `start'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:265:in `start'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/handler/thin.rb:13:in `run'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.7/lib/rails/commands/server.rb:70:in `start'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.7/lib/rails/commands.rb:55:in `block in <top (required)>'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.7/lib/rails/commands.rb:50:in `tap'
2012-08-28T17:55:58+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.7/lib/rails/commands.rb:50:in `<top (required)>'
2012-08-28T17:55:58+00:00 app[web.1]: script/rails:6:in `require'
2012-08-28T17:55:58+00:00 app[web.1]: script/rails:6:in `<main>'
2012-08-28T17:55:58+00:00 app[web.1]:
2012-08-28T17:55:58+00:00 app[web.1]: Processing by StaticPagesController#index as HTML
2012-08-28T17:55:58+00:00 app[web.1]:
2012-08-28T17:55:58+00:00 app[web.1]: Completed 500 Internal Server Error in 68ms
2012-08-28T17:55:59+00:00 heroku[router]: GET glacial-headland-3472.herokuapp.com/favicon.ico dyno=web.1 queue=0 wait=0ms service=8ms status=200 bytes=0
I continued my search for a solution on stack overflow and found my answer here;
Rails & Heroku: We're sorry, but something went wrong
I removed my "haml-rails" gem from the assets group (and platop of the file) and this fixed my issue.

Active Admin Gem - Rails 3.2.3, Heroku Error logs

I am having problems understanding the error logs. I am using Active Admin, all works well on my local server but when i push to Heroku i can not login or use active admin. I am a little stuck as to what the problems is. The front end of my wife works but when i try to login for the first time i get this error.
I have run
heroku run rake db:migrate
Application.rb
config.assets.initialize_on_precompile = false
routes.rb
break if ARGV.join.include? 'assets:precompile'
Heroku logs
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_controller/metal/responder.rb:153:in `respond'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_controller/metal/responder.rb:146:in `call'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_controller/metal/mime_responds.rb:239:in `respond_with'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/devise-2.1.0/app/controllers/devise/sessions_controller.rb:9:in `new'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/abstract_controller/base.rb:167:in `process_action'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_controller/metal/rendering.rb:10:in `process_action'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:436:in `_run__2148348972389484395__process_action__581573497384646045__callbacks'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:405:in `__run_callback'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:81:in `run_callbacks'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/abstract_controller/callbacks.rb:17:in `process_action'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_controller/metal/rescue.rb:29:in `process_action'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.3/lib/active_support/notifications.rb:123:in `block in instrument'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.3/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.3/lib/active_support/notifications.rb:123:in `instrument'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_controller/metal/params_wrapper.rb:205:in `process_action'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.3/lib/active_record/rai
lties/controller_runtime.rb:18:in `process_action'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/abstract_controller/base.rb:121:in `process'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/abstract_controller/rendering.rb:45:in `process'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_controller/metal.rb:203:in `dispatch'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_controller/metal.rb:246:in `block in action'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/routing/route_set.rb:73:in `call'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/routing/route_set.rb:36:in `call'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/routing/mapper.rb:40:in `call'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/journey-1.0.3/lib/journey/router.rb:68:in `block in call'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/journey-1.0.3/lib/journey/router.rb:56:in `each'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/journey-1.0.3/lib/journey/router.rb:56:in `call'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/routing/route_set.rb:600:in `call'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/sass-3.1.18/lib/sass/plugin/rack.rb:54:in `call'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/warden-1.1.1/lib/warden/manager.rb:35:in `block in call'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/warden-1.1.1/lib/warden/manager.rb:34:in `catch'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/warden-1.1.1/lib/warden/manager.rb:34:in `call'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/etag.rb:23:in `call'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/conditionalget.rb:25:in `call'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/middleware/head.rb:14:in `call'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/middleware/flash.rb:242:in `call'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:in `context'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:in `call'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/middleware/cookies.rb:338:in `call'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/dragonfly-0.9.12/lib/dragonfly/cookie_monster.rb:9:in `call'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.3/lib/active_record/query_cache.rb:64:in `call'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:467:in `call'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:405:in `_run__2527400173333692808__call__757062616006589650__callbacks'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:405:in `__run_callback'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:81:in `run_callbacks'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.3/lib/rails/rack/logger.rb:26:in `call_app'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.3/lib/rails/rack/logger.rb:16:in `call'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/middleware/request_id.rb:22:in `call'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/runtime.rb:17:in `call'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.3/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/lock.rb:15:in `call'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/middleware/static.rb:62:in `call'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/dragonfly-0.9.12/lib/dragonfly/middleware.rb:13:in `call'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:in `lookup'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in `fetch'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in `call!'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.3/lib/rails/engine.rb:479:in `call'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.3/lib/rails/application.rb:220:in `call'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/content_length.rb:14:in `call'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.3/lib/rails/rack/log_tailer.rb:14:in `call'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/thin-1.3.1/lib/thin/connection.rb:80:in `block in pre_process'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/thin-1.3.1/lib/thin/connection.rb:78:in `catch'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/thin-1.3.1/lib/thin/connection.rb:78:in `pre_process'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/thin-1.3.1/lib/thin/connection.rb:53:in `process'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/thin-1.3.1/lib/thin/connection.rb:38:in `receive_data'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run_machine'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/thin-1.3.1/lib/thin/backends/base.rb:61:in `start'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/thin-1.3.1/lib/thin/server.rb:159:in `start'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/handler/thin.rb:13:in `run'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:265:in `start'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.3/lib/rails/commands/server.rb:70:in `start'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.3/lib/rails/commands.rb:50:in `tap'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.3/lib/rails/commands.rb:55:in `block in <top (required)>'
2012-06-01T06:11:53+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.3/lib/rails/commands.rb:50:in `<top (required)>'
2012-06-01T06:11:53+00:00 app[web.1]: script/rails:6:in `require'
2012-06-01T06:11:53+00:00 app[web.1]: script/rails:6:in `<main>'
2012-06-01T06:11:53+00:00 app[web.1]:
2012-06-01T06:11:53+00:00 app[web.1]:
2012-06-01T06:11:53+00:00 app[web.1]: Processing by ActiveAdmin::Devise::SessionsController#new as HTML
2012-06-01T06:11:53+00:00 app[web.1]: Rendered vendor/bundle/ruby/1.9.1/bundler/gems/active_admin-3020d04d5c8f/app/views/active_admin/devise/shared/_links.erb (1.1ms)
2012-06-01T06:11:53+00:00 app[web.1]: Rendered vendor/bundle/ruby/1.9.1/bundler/gems/active_admin-3020d04d5c8f/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out (292.9ms)
2012-06-01T06:11:53+00:00 app[web.1]: Completed 500 Internal Server Error in 456ms
Config/env/development.rb
# Do not compress assets
config.assets.compress = false
# Expands the lines which load the assets
config.assets.debug = true
Gem File
source 'https://rubygems.org'
ruby '1.9.3'
gem 'rails', '3.2.3'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
group :development do
gem 'pg'
#gem 'sqlite3'
end
# Gems used only for assets and not required
# in production environments by default.
group :assets do
gem 'pg'
gem 'thin'
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
# gem 'therubyracer', :platform => :ruby
gem 'uglifier', '>= 1.0.3'
gem 'chosen-rails'
end
gem 'jquery-rails'
gem "activeadmin", :git => "git://github.com/gregbell/active_admin.git"
gem "zurb-foundation"
gem "friendly_id", "~> 4.0.1"
gem 'simple_form'
gem 'rack-cache', :require => 'rack/cache'
gem 'dragonfly', '~>0.9.12'
gem "fog"
gem 'rmagick'
gem 'tinymce-rails'
Update:
I on my gemfile i am now using
ruby '1.9.3'
gem 'rails', '3.2.5'
but the error log has
vendor/bundle/ruby/1.9.1/gems/
Is heroku not supposed to choose Ruby 1.9.3 for me?
Try this two things:
config/environments/production.rb config.assets.compile = true
in your gem file
gem "activeadmin", :git => "git://github.com/gregbell/active_admin.git"
and bundle install
push to heroku and see it works
Move gem 'sass-rails', '~> 3.2.3' and gem 'pg' out of the assets group, bundle and try it again.
I would do a mandatory rake assets:precompile RAILS_ENV=production
and add the public/assets updates to my commit.
If ever you want to rebuild your assets, just rm -rf public/assets
and run the asset precompile command again.
You can git rm public/assets --cached -r
and
git add public/assets
Do a commit and push to heroku.
I'm just guessing that you haven't run your migrations since the pg gem is tucked away in your assets group. You'd likely have gotten an error upon issuing heroku run rake db:migrate if you tried to run them under these conditions.
Also, I would advise putting your thin gem in production or global environment. Make sure you have a Procfile, otherwise heroku will use webrick.
Need to add this to production.rb
config.assets.precompile += %w( active_admin.css active_admin.js active_admin/print.css)
I got very similar error messages when I forgot to run $ heroku run rake db:migrate. I created a new Family model and set the root of the app to a family#show page in development. I got the same cryptic error message that you got when I deployed to Heroku and was able to solve it by running the migrations in the production database and creating a Family object in the console.

Resources