I created a project. It works correct at localhost, but when i'm trying to deploy it on heroku, it returns me "We're sorry, but something went wrong". It's quity simple project from tutorial and i don't know where's problem.
Here is my logs:
2013-03-22T19:31:10+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-03-22T19:31:10+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.12/lib/rails/engine.rb:479:in `call'
2013-03-22T19:31:10+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.12/lib/rails/rack/log_tailer.rb:17:in `call'
2013-03-22T19:31:10+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'
2013-03-22T19:31:10+00:00 app[web.1]: /usr/local/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
2013-03-22T19:31:10+00:00 app[web.1]:
2013-03-22T19:31:10+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-03-22T19:31:10+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-03-22T19:31:10+00:00 app[web.1]: /usr/local/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
2013-03-22T19:31:10+00:00 app[web.1]:
2013-03-22T19:31:10+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-03-22T19:31:10+00:00 heroku[router]: at=info method=GET path=/ host=ancient-cliffs-5913.herokuapp.com fwd="46.72.70.205" dyno=web.1 queue=0 wait=0ms connect=2ms service=18ms status=500 bytes=643
2013-03-22T19:31:10+00:00 heroku[router]: at=info method=GET path=/favicon.ico host=ancient-cliffs-5913.herokuapp.com fwd="46.72.70.205" dyno=web.1 queue=0 wait=15ms connect=7ms service=23ms status=304 bytes=0
2013-03-22T19:31:13+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/query_cache.rb:67:in `rescue in call'
2013-03-22T19:31:13+00:00 app[web.1]: ActiveRecord::ConnectionNotEstablished (ActiveRecord::ConnectionNotEstablished):
2013-03-22T19:31:13+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/connection_adapters/abstract/connection_specification.rb:171:in `retrieve_connection'
2013-03-22T19:31:13+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/query_cache.rb:61:in `call'
2013-03-22T19:31:13+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
2013-03-22T19:31:13+00:00 app[web.1]:
2013-03-22T19:31:13+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/connection_adapters/abstract/connection_specification.rb:145:in `connection'
2013-03-22T19:31:13+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:405:in `__run_callback'
2013-03-22T19:31:13+00:00 app[web.1]: Started GET "/" for 46.72.70.205 at 2013-03-22 19:31:13 +0000
2013-03-22T19:31:13+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
2013-03-22T19:31:13+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/connection_adapters/abstract/connection_pool.rb:410:in `retrieve_connection'
2013-03-22T19:31:13+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:405:in `_run__3995827767081244094__call__3680287303298643332__callbacks'
2013-03-22T19:31:13+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:81:in `run_callbacks'
2013-03-22T19:31:13+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
2013-03-22T19:31:13+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2013-03-22T19:31:13+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
2013-03-22T19:31:13+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
2013-03-22T19:31:13+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
2013-03-22T19:31:13+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.12/lib/rails/rack/logger.rb:16:in `block in call'
2013-03-22T19:31:13+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.12/lib/active_support/tagged_logging.rb:22:in `tagged'
2013-03-22T19:31:13+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.12/lib/rails/rack/logger.rb:32:in `call_app'
2013-03-22T19:31:13+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/request_id.rb:22:in `call'
2013-03-22T19:31:13+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'
2013-03-22T19:31:13+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.12/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
2013-03-22T19:31:13+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-03-22T19:31:13+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.12/lib/rails/rack/logger.rb:16:in `call'
2013-03-22T19:31:13+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'
2013-03-22T19:31:13+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-03-22T19:31:13+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-03-22T19:31:13+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'
2013-03-22T19:31:13+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-03-22T19:31:13+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-03-22T19:31:13+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.12/lib/rails/application.rb:223:in `call'
2013-03-22T19:31:13+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/static.rb:62:in `call'
2013-03-22T19:31:13+00:00 app[web.1]:
2013-03-22T19:31:13+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.12/lib/rails/engine.rb:479:in `call'
2013-03-22T19:31:13+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-03-22T19:31:13+00:00 app[web.1]:
2013-03-22T19:31:13+00:00 app[web.1]: /usr/local/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
2013-03-22T19:31:13+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-03-22T19:31:13+00:00 app[web.1]: /usr/local/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
2013-03-22T19:31:13+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.12/lib/rails/rack/log_tailer.rb:17:in `call'
2013-03-22T19:31:13+00:00 app[web.1]: /usr/local/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
2013-03-22T19:31:14+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/query_cache.rb:67:in `rescue in call'
2013-03-22T19:31:14+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/query_cache.rb:61:in `call'
2013-03-22T19:31:14+00:00 app[web.1]: Started GET "/" for 46.72.70.205 at 2013-03-22 19:31:14 +0000
2013-03-22T19:31:14+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/connection_adapters/abstract/connection_specification.rb:145:in `connection'
2013-03-22T19:31:14+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
2013-03-22T19:31:14+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/connection_adapters/abstract/connection_pool.rb:410:in `retrieve_connection'
2013-03-22T19:31:14+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/connection_adapters/abstract/connection_specification.rb:171:in `retrieve_connection'
2013-03-22T19:31:14+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'
2013-03-22T19:31:14+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
2013-03-22T19:31:14+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-03-22T19:31:14+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.12/lib/rails/application.rb:223:in `call'
2013-03-22T19:31:14+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-03-22T19:31:14+00:00 app[web.1]: /usr/local/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
2013-03-22T19:31:14+00:00 app[web.1]: /usr/local/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
2013-03-22T19:31:14+00:00 app[web.1]:
2013-03-22T19:31:14+00:00 app[web.1]: ActiveRecord::ConnectionNotEstablished (ActiveRecord::ConnectionNotEstablished):
2013-03-22T19:31:14+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-03-22T19:31:14+00:00 app[web.1]: /usr/local/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
2013-03-22T19:31:14+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/request_id.rb:22:in `call'
2013-03-22T19:31:14+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'
2013-03-22T19:31:14+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.12/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
2013-03-22T19:31:14+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-03-22T19:31:14+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:405:in `_run__3995827767081244094__call__3680287303298643332__callbacks'
2013-03-22T19:31:14+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
2013-03-22T19:31:14+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
2013-03-22T19:31:14+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2013-03-22T19:31:14+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:405:in `__run_callback'
2013-03-22T19:31:14+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:81:in `run_callbacks'
2013-03-22T19:31:14+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'
2013-03-22T19:31:14+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/static.rb:62:in `call'
2013-03-22T19:31:14+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
2013-03-22T19:31:14+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.12/lib/rails/rack/logger.rb:32:in `call_app'
2013-03-22T19:31:14+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-03-22T19:31:14+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.12/lib/rails/rack/log_tailer.rb:17:in `call'
2013-03-22T19:31:14+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
2013-03-22T19:31:14+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.12/lib/rails/rack/logger.rb:16:in `block in call'
2013-03-22T19:31:14+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-03-22T19:31:14+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.12/lib/rails/rack/logger.rb:16:in `call'
2013-03-22T19:31:14+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.12/lib/active_support/tagged_logging.rb:22:in `tagged'
2013-03-22T19:31:14+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-03-22T19:31:14+00:00 app[web.1]:
2013-03-22T19:31:14+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.12/lib/rails/engine.rb:479:in `call'
2013-03-22T19:31:14+00:00 app[web.1]:
2013-03-22T19:31:14+00:00 heroku[router]: at=info method=GET path=/ host=ancient-cliffs-5913.herokuapp.com fwd="46.72.70.205" dyno=web.1 queue=0 wait=11ms connect=22ms service=20ms status=500 bytes=643
2013-03-22T19:31:13+00:00 heroku[router]: at=info method=GET path=/ host=ancient-cliffs-5913.herokuapp.com fwd="46.72.70.205" dyno=web.1 queue=0 wait=0ms connect=10ms service=5ms status=500 bytes=643
Here is my gem file:
source 'https://rubygems.org'
gem 'rails', '3.2.12'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
group :development, :test do
gem 'sqlite3-ruby', :require => 'sqlite3'
end
# Gems used only for assets and not required
# in production environments by default.
group :assets do
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', :platforms => :ruby
gem 'uglifier', '>= 1.0.3'
end
gem 'jquery-rails'
# To use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.0.0'
# To use Jbuilder templates for JSON
# gem 'jbuilder'
# Use unicorn as the app server
# gem 'unicorn'
# Deploy with Capistrano
# gem 'capistrano'
# To use debugger
# gem 'debugger'
group :test do
gem 'rspec-rails', '2.6.1'
gem 'webrat', '0.7.1'
end
You don't have
gem 'pg'
in your Gemfile. You can continue to use sqlite3 locally for development but you either need to use postgres, mysql, mongo on Heroku.
Related
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.
I'm following Michael Hartl's guide on learning Ruby on Rails and I just finished Chapter 5.
I get the localhost to load just fine and pages work and look as expected but when I try the final line to get heroku going "heroku open" I get the following screen (http://take.ms/4KuwQ).
I've tried checking other stackoverflow questions but still couldn't find the answer. The guide says to look at Heroku logs to debug but I can not find the solution.
Below is my entire Heroku log. I have also attached a screen grab (http://take.ms/MaJhz) of what I believe would be the issue but can not find the solution.
Entire GEM file:
source 'https://rubygems.org'
ruby '2.0.0'
#ruby-gemset=railstutorial_rails_4_0
gem 'rails', '4.0.4'
gem 'bootstrap-sass', '2.3.2.0'
gem 'sprockets', '2.11.0'
group :development, :test do
gem 'sqlite3', '1.3.8'
gem 'rspec-rails', '2.13.1'
end
group :test do
gem 'selenium-webdriver', '2.35.1'
gem 'capybara', '2.1.0'
end
gem 'sass-rails', '4.0.1'
gem 'uglifier', '2.1.1'
gem 'coffee-rails', '4.0.1'
gem 'jquery-rails', '3.0.4'
gem 'turbolinks', '1.1.1'
gem 'jbuilder', '1.0.2'
group :doc do
gem 'sdoc', '0.3.20', require: false
end
group :production do
gem 'pg', '0.15.1'
gem 'rails_12factor', '0.0.2'
end
Entire Heroku log:
2014-04-16T23:13:14.780234+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2014-04-16T23:13:14.780234+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2014-04-16T23:13:14.780234+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-16T23:13:14.780234+00:00 app[web.1]:
2014-04-16T23:13:14.780234+00:00 app[web.1]:
2014-04-16T23:13:14.780234+00:00 app[web.1]:
2014-04-16T23:13:14.780234+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/"):
2014-04-16T23:13:14.780234+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
2014-04-16T23:13:14.781190+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/rack/logger.rb:38:in `call_app'
2014-04-16T23:13:14.781190+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/rack/logger.rb:20:in `block in call'
2014-04-16T23:13:14.781190+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'
2014-04-16T23:13:14.781190+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/tagged_logging.rb:68:in `tagged'
2014-04-16T23:13:14.781190+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/rack/logger.rb:20:in `call'
2014-04-16T23:13:14.781190+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2014-04-16T23:13:14.781190+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
2014-04-16T23:13:14.781574+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
2014-04-16T23:13:14.780234+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2014-04-16T23:13:14.781190+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/tagged_logging.rb:26:in `tagged'
2014-04-16T23:13:14.781190+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
2014-04-16T23:13:14.781574+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
2014-04-16T23:13:14.781574+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2014-04-16T23:13:14.781574+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-16T23:13:14.781574+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2014-04-16T23:13:14.781190+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2014-04-16T23:13:14.781574+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/static.rb:64:in `call'
2014-04-16T23:13:14
.781574+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
2014-04-16T23:13:14.781574+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/engine.rb:511:in `call'
2014-04-16T23:13:14.781574+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/application.rb:97:in `call'
2014-04-16T23:13:14.781574+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
2014-04-16T23:13:14.782201+00:00 app[web.1]:
2014-04-16T23:13:14.782201+00:00 app[web.1]:
2014-04-16T23:13:14.783441+00:00 heroku[router]: at=info method=GET path=/ host=damp-inlet-1921.herokuapp.com request_id=f19f1fc7-892c-4b1f-adaa-324bc982b675 fwd="12.172.95.252" dyno=web.1 connect=1ms service=350ms status=404 bytes=1616
2014-04-16T23:13:15.127296+00:00 heroku[router]: at=info method=GET path=/favicon.ico host=damp-inlet-1921.herokuapp.com request_id=6b5c668d-189b-42d6-90b9-1bffb1d7f085 fwd="12.172.95.252" dyno=web.1 connect=1ms service=4ms status=304 bytes=133
2014-04-16T23:13:13.951347+00:00 heroku[web.1]: State changed from starting to up
2014-04-16T23:14:24.040669+00:00 heroku[api]: Starting process with command `bundle exec rake db:setup` by edgarmatevosyan#gmail.com
2014-04-16T23:14:27.184585+00:00 heroku[run.2955]: Awaiting client
2014-04-16T23:14:27.219046+00:00 heroku[run.2955]: Starting process with command `bundle exec rake db:setup`
2014-
04-16T23:14:27.274133+00:00 heroku[run.2955]: State changed from starting to up
2014-04-16T23:14:30.722822+00:00 heroku[run.2955]: State changed from up to complete
2014-04-16T23:14:30.708839+00:00 heroku[run.2955]: Process exited with status 1
2014-04-16T23:14:37.126865+00:00 heroku[api]: Starting process with command `bundle exec rake db:migrate` by edgarmatevosyan#gmail.com
2014-04-16T23:14:41.972185+00:00 heroku[run.8896]: Awaiting client
2014-04-16T23:14:41.719744+00:00 heroku[run.8896]: State changed from starting to up
2014-04-16T23:14:42.035485+00:00 heroku[run.8896]: Starting process with command `bundle exec rake db:migrate`
2014-04-16T23:14:48.674142+00:00 heroku[run.8896]: Process exited with status 0
2014-04-16T23:14:48.685250+00:00 heroku[run.8896]: State changed from up to complete
2014-04-16T23:23:59.044087+00:00 app[web.1]: Started GET "/" for 12.172.95.252 at 2014-04-16 23:23:59 +0000
2014-04-16T23:23:59.062462+00:00 app[web.1]: Started GET "/" for 12.172.95.252 at 2014-04-16 23:23:59 +0000
2014-04-16T23:23:59.289420+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/"):
2014-04-16T23:23:59.289420+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
2014-04-16T23:23:59.289420+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
201
4-04-16T23:23:59.289420+00:00 app[web.1]:
2014-04-16T23:23:59.289420+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/rack/logger.rb:38:in `call_app'
2014-04-16T23:23:59.289420+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/rack/logger.rb:20:in `block in call'
2014-04-16T23:23:59.289420+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'
2014-04-16T23:23:59.289420+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/tagged_logging.rb:26:in `tagged'
2014-04-16T23:23:59.289420+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/tagged_logging.rb:68:in `tagged'
2014-04-16T23:23:59.289420+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/rack/logger.rb:20:in `call'
2014-04-16T23:23:59.289665+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/engine.rb:511:in `call'
2014-04-16T23:23:59.289665+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/application.rb:97:in `call'
2014-04-16T23:23:59.289665+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
2014-04-16T23:23:59.289665+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
2014-04-16T23:23:59.289665+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2014-04-16T23:23:59.289665+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
2014-04-16T23:23:59.289665+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
2014-04-16T23:23:59.289665+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2014-04-16T23:23:59.289665+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/static.rb:64:in `call'
2014-04-16T23:23:59.289665+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
2014-04-16T23:23:59.289857+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
2014-04-16T23:23:59.289857+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2014-04-16T23:23:59.289857+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2014-04-16T23:23:59.289857+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-16T23:23:59.289857+00:00 app[web.1]:
2014-04-16T23:23:59.289857+00:00 app[web.1]:
2014-04-16T23:23:59.293033+00:00 app[web.1]:
2014-04-16T23:23:59.293033+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/"):
2014-04-16T23:23:59.293033+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
2014-04-16T23:23:59.293033+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2014-04-16T23:23:59.293033+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/rack/logger.rb:38:in `call_app'
2014-04-16T23:23:59.293033+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/rack/logger.rb:20:in `block in call'
2014-04-16T23:23:59.293033+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'
2014-04-16T23:23:59.293033+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/tagged_logging.rb:26:in `tagged'
2014-04-16T23:23:59.293033+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/tagged_logging.rb:68:in `tagged'
2014-04-16T23:23:59.293250+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2014-04-16T23:23:59.293033+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/rack/logger.rb:20:in `call'
2014-04-16T23:23:59.293250+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
2014-04-16T23:23:59.293250+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
2014-04-16T23:23:59.293250+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2014-04-16T23:23:59.293250+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/static.rb:64:in `call'
2014-04-16T23:23:59.293250+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
2014-04-16T23:23:59.293250+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/engine.rb:511:in `call'
2014-04-16T23:23:59.293250+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/application.rb:97:in `call'
2014-04-16T23:23:59.293250+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
2014-04-16T23:23:59.293250+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
2014-04-16T23:23:59.293486+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
2014-04-16T23:23:59.293486+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2014-04-16T23:23:59.293486+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2014-04-16T23:23:59.293486+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-16T23:23:59.293486+00:00 app[web.1]:
2014-04-16T23:23:59.293486+00:00 app[web.1]:
2014-04-16T23:23:59.317925+00:00 heroku[router]: at=info method=GET path=/ host=damp-inlet-1921.herokuapp.com request_id=b7a6b34b-bab5-4603-b19e-5e00f6239f27 fwd="12.172.95.252" dyno=web.1 connect=4ms service=4147ms status=404 bytes=1616
Here is the routes.rb file:
SampleApp::Application.routes.draw do
get "users/new"
root 'static_pages#home'
match '/signup', to: 'users#new', via: 'get'
match '/help', to: 'static_pages#help', via: 'get'
match '/about', to: 'static_pages#about', via: 'get'
match '/contact', to: 'static_pages#contact', via: 'get'
end
The screengrab log says no route matches a GET request on '/'. Are you sure you've set a root route? It would look like this: (the routes file is found in 'config/routes.rb')
root to: 'controller#method'
Where controller is the controller you wish to use 'users' or 'posts' etc..
and the method would most likely be an index method.
Take a quick look at routes.rb, and if you do have a line like I've mentioned above, just post up your routes.rb file for us to take a look.
Rails Application (
gem 'rails', '4.0.0'
gem 'bson_ext'
gem 'mongoid', git: 'https://github.com/mongoid/mongoid.git'
gem 'will_paginate_mongoid'
gem 'devise', '3.0.0.rc'
gem 'rails_12factor', :group => :production
gem 'sass-rails', '~> 4.0.0'
gem 'pg'
gem 'sqlite3', :group => :development
gem 'uglifier', '>= 1.3.0'
gem 'coffee-rails', '~> 4.0.0'
gem 'haml-rails'
gem 'jquery-rails'
gem 'zurb-foundation'
gem 'turbolinks'
gem 'jbuilder', '~> 1.2'
)
Using heroku cloud as hosting and mongohq.com as DB.
Applicaton work correct from PC on ubuntu and windows, any browsers, example of success log
2013-09-25T21:27:03.537411+00:00 app[web.1]: Started GET "/" for 80.239.243.229 at 2013-09-25 21:27:03 +0000
2013-09-25T21:27:03.542730+00:00 app[web.1]: Processing by ProgramUpdateController#index as HTML
2013-09-25T21:27:03.542730+00:00 app[web.1]: Processing by ProgramUpdateController#index as HTML
2013-09-25T21:27:03.537411+00:00 app[web.1]: Started GET "/" for 80.239.243.229 at 2013-09-25 21:27:03 +0000
2013-09-25T21:27:03.574001+00:00 app[web.1]: Rendered program_update/index.html.haml within layouts/application (0.5ms)
2013-09-25T21:27:03.574001+00:00 app[web.1]: Rendered program_update/index.html.haml within layouts/application (0.5ms)
2013-09-25T21:27:03.576771+00:00 app[web.1]: Completed 200 OK in 34ms (Views: 3.7ms | ActiveRecord: 0.0ms)
2013-09-25T21:27:03.576771+00:00 app[web.1]: Completed 200 OK in 34ms (Views: 3.7ms | ActiveRecord: 0.0ms)
2013-09-25T21:27:03.905849+00:00 heroku[router]: at=info method=GET path=/assets/vendor/custom.modernizr-23d32674d619702e1e6f721f8a0110bc.js host=myhost.herokuapp.com fwd="85.26.241.195, 80.239.243.229" dyno=web.1 connect=24ms service=45ms status=200 bytes=8875
2013-09-25T21:27:04.265079+00:00 heroku[router]: at=info method=GET path=/assets/application-98e8123edeabf57f3d0d5828d3e2114c.js host=myhost.herokuapp.com fwd="85.26.241.195, 80.239.243.229" dyno=web.1 connect=12ms service=60ms status=200 bytes=204931
2013-09-25T21:27:03.718707+00:00 heroku[router]: at=info method=GET path=/assets/application-170f0afc96810f546ca5bae08bfa723e.css host=myhost.herokuapp.com fwd="85.26.241.195, 80.239.243.229" dyno=web.1 connect=2ms service=14ms status=200 bytes=166839
2013-09-25T21:27:03.575431+00:00 heroku[router]: at=info method=GET path=/ host=myhost.herokuapp.com fwd="85.26.241.195, 80.239.243.229" dyno=web.1 connect=1ms service=51ms status=200 bytes=2053
2013-09-25T21:27:05.918085+00:00 heroku[router]: at=info method=GET path=/favicon.ico host=myhost.herokuapp.com fwd="85.26.241.195, 80.239.243.229" dyno=web.1 connect=1ms service=5ms status=200 bytes=0
But from Iphone (3G or wifi) only in default safary I always have Internal Server Error = code 500, example of logs:
2013-09-25T21:28:01.602353+00:00 heroku[router]: at=info method=GET path=/users/sign_in host=myhost.herokuapp.com fwd="85.26.241.195" dyno=web.1 connect=3ms service=18ms status=500 bytes=1266
2013-09-25T21:28:01.594022+00:00 app[web.1]: Started GET "/users/sign_in" for 85.26.241.195 at 2013-09-25 21:28:01 +0000
2013-09-25T21:28:01.594022+00:00 app[web.1]: Started GET "/users/sign_in" for 85.26.241.195 at 2013-09-25 21:28:01 +0000
2013-09-25T21:28:01.595918+00:00 app[web.1]: Processing by Devise::SessionsController#new as HTML
2013-09-25T21:28:01.599809+00:00 app[web.1]: NameError (uninitialized constant Moped::BSON):
2013-09-25T21:28:01.599809+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/inflector/methods.rb:241:in `const_get'
2013-09-25T21:28:01.599809+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/inflector/methods.rb:241:in `block in constantize'
2013-09-25T21:28:01.599809+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/inflector/methods.rb:224:in `each'
2013-09-25T21:28:01.599809+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/inflector/methods.rb:224:in `inject'
2013-09-25T21:28:01.595918+00:00 app[web.1]: Processing by Devise::SessionsController#new as HTML
2013-09-25T21:28:01.599809+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/core_ext/marshal.rb:10:in `rescue in load_with_autoloading'
2013-09-25T21:28:01.599809+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/core_ext/marshal.rb:6:in `load_with_autoloading'
2013-09-25T21:28:01.599981+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/cookies.rb:443:in `[]'
2013-09-25T21:28:01.599981+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/session/cookie_store.rb:82:in `block in extract_session_id'
2013-09-25T21:28:01.597202+00:00 app[web.1]: Completed 500 Internal Server Error in 1ms
2013-09-25T21:28:01.599981+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/cookies.rb:461:in `decrypt_and_verify'
2013-09-25T21:28:01.600160+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/request/session.rb:45:in `[]'
2013-09-25T21:28:01.597202+00:00 app[web.1]: Completed 500 Internal Server Error in 1ms
2013-09-25T21:28:01.600160+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/request/session.rb:160:in `load_for_read!'
2013-09-25T21:28:01.599981+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/message_encryptor.rb:93:in `_decrypt'
2013-09-25T21:28:01.599981+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/session/cookie_store.rb:89:in `block in unpacked_cookie_data'
2013-09-25T21:28:01.599809+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/inflector/methods.rb:224:in `constantize'
2013-09-25T21:28:01.599809+00:00 app[web.1]:
2013-09-25T21:28:01.600837+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/warden-1.2.3/lib/warden/proxy.rb:144:in `authenticated?'
2013-09-25T21:28:01.600837+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/callbacks.rb:397:in `_run__2966662931796683681__process_action__callbacks'
2013-09-25T21:28:01.599981+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/message_encryptor.rb:63:in `decrypt_and_verify'
2013-09-25T21:28:01.600837+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/abstract_controller/callbacks.rb:17:in `process_action'
2013-09-25T21:28:01.600837+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_controller/metal/rescue.rb:29:in `process_action'
2013-09-25T21:28:01.600160+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/request/session.rb:46:in `block in []'
2013-09-25T21:28:01.599981+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/session/cookie_store.rb:113:in `get_cookie'
2013-09-25T21:28:01.599981+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/session/abstract_store.rb:51:in `stale_session_check!'
2013-09-25T21:28:01.601026+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
2013-09-25T21:28:01.600837+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
2013-09-25T21:28:01.599809+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/core_ext/string/inflections.rb:66:in `constantize'
2013-09-25T21:28:01.600160+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/request/session.rb:67:in `id'
2013-09-25T21:28:01.601026+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/notifications.rb:159:in `instrument'
2013-09-25T21:28:01.601026+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/abstract_controller/base.rb:136:in `process'
2013-09-25T21:28:01.600160+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:282:in `current_session_id'
2013-09-25T21:28:01.600160+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/request/session.rb:140:in `exists?'
2013-09-25T21:28:01.600160+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/request/session.rb:86:in `[]'
2013-09-25T21:28:01.599981+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/session/abstract_store.rb:51:in `stale_session_check!'
2013-09-25T21:28:01.600160+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:288:in `session_exists?'
2013-09-25T21:28:01.601448+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/routing/route_set.rb:80:in `call'
2013-09-25T21:28:01.600837+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/notifications.rb:159:in `block in instrument'
2013-09-25T21:28:01.601026+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2013-09-25T21:28:01.600837+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/callbacks.rb:80:in `run_callbacks'
2013-09-25T21:28:01.601026+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_controller/metal.rb:195:in `dispatch'
2013-09-25T21:28:01.601026+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/abstract_controller/rendering.rb:44:in `process'
2013-09-25T21:28:01.601026+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_controller/metal.rb:231:in `block in action'
2013-09-25T21:28:01.600837+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/warden-1.2.3/lib/warden/session_serializer.rb:30:in `fetch'
2013-09-25T21:28:01.601448+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/journey/router.rb:71:in `block in call'
2013-09-25T21:28:01.601026+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
2013-09-25T21:28:01.602014+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/query_cache.rb:36:in `call'
2013-09-25T21:28:01.601603+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/warden-1.2.3/lib/warden/manager.rb:34:in `catch'
2013-09-25T21:28:01.601448+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/journey/router.rb:59:in `each'
2013-09-25T21:28:01.601026+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
2013-09-25T21:28:01.601603+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/bundler/gems/mongoid-c4229f0c213d/lib/rack/mongoid/middleware/identity_map.rb:34:in `call'
2013-09-25T21:28:01.601603+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'
2013-09-25T21:28:01.601603+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
2013-09-25T21:28:01.601448+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
2013-09-25T21:28:01.602014+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/callbacks.rb:80:in `run_callbacks'
2013-09-25T21:28:01.602014+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
2013-09-25T21:28:01.599981+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/session/cookie_store.rb:88:in `unpacked_cookie_data'
2013-09-25T21:28:01.600160+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/session/cookie_store.rb:81:in `extract_session_id'
2013-09-25T21:28:01.601603+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
2013-09-25T21:28:01.601603+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
2013-09-25T21:28:01.602209+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/tagged_logging.rb:67:in `block in tagged'
2013-09-25T21:28:01.601603+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
2013-09-25T21:28:01.602209+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2013-09-25T21:28:01.601603+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
2013-09-25T21:28:01.602610+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/engine.rb:511:in `call'
2013-09-25T21:28:01.602014+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
2013-09-25T21:28:01.601448+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/journey/router.rb:59:in `call'
2013-09-25T21:28:01.602014+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/callbacks.rb:373:in `_run__3847199164003715937__call__callbacks'
2013-09-25T21:28:01.602610+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
2013-09-25T21:28:01.602014+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2013-09-25T21:28:01.601448+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/routing/route_set.rb:655:in `call'
2013-09-25T21:28:01.602209+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2013-09-25T21:28:01.602785+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/inflector/methods.rb:224:in `constantize'
2013-09-25T21:28:01.603492+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/session/abstract_store.rb:51:in `stale_session_check!'
2013-09-25T21:28:01.602209+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/tagged_logging.rb:67:in `tagged'
2013-09-25T21:28:01.602610+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/static.rb:64:in `call'
2013-09-25T21:28:01.602610+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
2013-09-25T21:28:01.602209+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/rack/logger.rb:21:in `call'
2013-09-25T21:28:01.601448+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/bundler/gems/mongoid-c4229f0c213d/lib/rack/mongoid/middleware/identity_map.rb:34:in `block in call'
2013-09-25T21:28:01.602209+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
2013-09-25T21:28:01.602785+00:00 app[web.1]: NameError (uninitialized constant Moped::BSON):
2013-09-25T21:28:01.602610+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2013-09-25T21:28:01.602785+00:00 app[web.1]:
2013-09-25T21:28:01.601603+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/warden-1.2.3/lib/warden/manager.rb:34:in `call'
2013-09-25T21:28:01.603492+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/session/cookie_store.rb:89:in `block in unpacked_cookie_data'
2013-09-25T21:28:01.603659+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/request/session.rb:45:in `[]'
2013-09-25T21:28:01.602785+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/inflector/methods.rb:241:in `const_get'
2013-09-25T21:28:01.602610+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
2013-09-25T21:28:01.604048+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/devise-3.0.0.rc/app/controllers/devise_controller.rb:105:in `require_no_authentication'
2013-09-25T21:28:01.602785+00:00 app[web.1]:
2013-09-25T21:28:01.604048+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/request/session.rb:86:in `[]'
2013-09-25T21:28:01.600837+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/warden-1.2.3/lib/warden/proxy.rb:212:in `user'
2013-09-25T21:28:01.603659+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/session/abstract_store.rb:51:in `stale_session_check!'
2013-09-25T21:28:01.600160+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/request/session.rb:45:in `fetch'
2013-09-25T21:28:01.601603+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/flash.rb:241:in `call'
2013-09-25T21:28:01.604230+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
2013-09-25T21:28:01.604230+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2013-09-25T21:28:01.602785+00:00 app[web.1]:
2013-09-25T21:28:01.602785+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/core_ext/string/inflections.rb:66:in `constantize'
2013-09-25T21:28:01.602785+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/inflector/methods.rb:224:in `inject'
2013-09-25T21:28:01.604230+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/abstract_controller/base.rb:136:in `process'
2013-09-25T21:28:01.602785+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/inflector/methods.rb:224:in `each'
2013-09-25T21:28:01.603492+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/core_ext/marshal.rb:10:in `rescue in load_with_autoloading'
2013-09-25T21:28:01.604716+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/routing/route_set.rb:655:in `call'
2013-09-25T21:28:01.602014+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/cookies.rb:486:in `call'
2013-09-25T21:28:01.601026+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2013-09-25T21:28:01.600837+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/devise-3.0.0.rc/app/controllers/devise_controller.rb:105:in `require_no_authentication'
2013-09-25T21:28:01.603659+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/request/session.rb:67:in `id'
2013-09-25T21:28:01.604880+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/bundler/gems/mongoid-c4229f0c213d/lib/mongoid/unit_of_work.rb:39:in `unit_of_work'
2013-09-25T21:28:01.603492+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/core_ext/marshal.rb:6:in `load_with_autoloading'
2013-09-25T21:28:01.603492+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/message_encryptor.rb:63:in `decrypt_and_verify'
2013-09-25T21:28:01.603492+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/message_encryptor.rb:93:in `_decrypt'
2013-09-25T21:28:01.602014+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
2013-09-25T21:28:01.603659+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/request/session.rb:46:in `block in []'
2013-09-25T21:28:01.604880+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/warden-1.2.3/lib/warden/manager.rb:34:in `catch'
2013-09-25T21:28:01.605288+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/flash.rb:241:in `call'
2013-09-25T21:28:01.603659+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/request/session.rb:45:in `fetch'
2013-09-25T21:28:01.603492+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/cookies.rb:461:in `decrypt_and_verify'
2013-09-25T21:28:01.602014+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
2013-09-25T21:28:01.601448+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/routing/mapper.rb:44:in `call'
2013-09-25T21:28:01.604230+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/notifications.rb:159:in `block in instrument'
2013-09-25T21:28:01.604048+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/warden-1.2.3/lib/warden/proxy.rb:144:in `authenticated?'
2013-09-25T21:28:01.602209+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/rack/logger.rb:38:in `call_app'
2013-09-25T21:28:01.603492+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/session/cookie_store.rb:113:in `get_cookie'
2013-09-25T21:28:01.604716+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/journey/router.rb:71:in `block in call'
2013-09-25T21:28:01.604880+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
2013-09-25T21:28:01.604048+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/abstract_controller/callbacks.rb:17:in `process_action'
2013-09-25T21:28:01.604880+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
2013-09-25T21:28:01.605447+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/tagged_logging.rb:67:in `block in tagged'
2013-09-25T21:28:01.602610+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2013-09-25T21:28:01.603659+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/session/cookie_store.rb:81:in `extract_session_id'
2013-09-25T21:28:01.603659+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/request/session.rb:140:in `exists?'
2013-09-25T21:28:01.605288+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/cookies.rb:486:in `call'
2013-09-25T21:28:01.601448+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/routing/route_set.rb:48:in `call'
2013-09-25T21:28:01.602209+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/tagged_logging.rb:25:in `tagged'
2013-09-25T21:28:01.604230+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_controller/metal.rb:195:in `dispatch'
2013-09-25T21:28:01.605971+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/application.rb:97:in `call'
2013-09-25T21:28:01.605288+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/query_cache.rb:36:in `call'
2013-09-25T21:28:01.605288+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
2013-09-25T21:28:01.604716+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/journey/router.rb:59:in `each'
2013-09-25T21:28:01.604880+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
2013-09-25T21:28:01.605971+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
2013-09-25T21:28:01.605447+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/rack/logger.rb:21:in `block in call'
2013-09-25T21:28:01.602785+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/inflector/methods.rb:241:in `block in constantize'
2013-09-25T21:28:01.604880+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/bundler/gems/mongoid-c4229f0c213d/lib/rack/mongoid/middleware/identity_map.rb:34:in `call'
2013-09-25T21:28:01.604716+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/journey/router.rb:59:in `call'
2013-09-25T21:28:01.601448+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/bundler/gems/mongoid-c4229f0c213d/lib/mongoid/unit_of_work.rb:39:in `unit_of_work'
2013-09-25T21:28:01.604716+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/routing/mapper.rb:44:in `call'
2013-09-25T21:28:01.602610+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/application.rb:97:in `call'
I've just been hit with the " We're sorry, but something went wrong. " error when deploying to Heroku.
Being fairly new to Heroku i'm having trouble identifying the issue, to troubleshoot it.
application.rb
require File.expand_path('../boot', __FILE__)
require 'rails/all'
if defined?(Bundler)
# If you precompile assets before deploying to production, use this line
Bundler.require(*Rails.groups(:assets => %w(development test)))
# If you want your assets lazily compiled in production, use this line
# Bundler.require(:default, :assets, Rails.env)
end
module User101
class Application < Rails::Application
#seperate
# Prevents heroku rake abort on assets compile
# From http://www.simonecarletti.com/blog/2012/02/heroku-and-rails-3-2-assetprecompile-error/
config.assets.initialize_on_precompile = false
# Enable the asset pipeline
config.assets.enabled = true
# wysihtml5 css issue - https://github.com/sferik/rails_admin/issues/1312
config.assets.precompile += ['*.css', '*.js']
#seperate
# Settings in config/environments/* take precedence over those specified here.
# Application configuration should go into files in config/initializers
# -- all .rb files in that directory are automatically loaded.
# Custom directories with classes and modules you want to be autoloadable.
# config.autoload_paths += %W(#{config.root}/extras)
# Only load the plugins named here, in the order given (default is alphabetical).
# :all can be used as a placeholder for all plugins not explicitly named.
# config.plugins = [ :exception_notification, :ssl_requirement, :all ]
# Activate observers that should always be running.
# config.active_record.observers = :cacher, :garbage_collector, :forum_observer
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
# config.time_zone = 'Central Time (US & Canada)'
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
# config.i18n.default_locale = :de
# Configure the default encoding used in templates for Ruby 1.9.
config.encoding = "utf-8"
# Configure sensitive parameters which will be filtered from the log file.
config.filter_parameters += [:password]
# Enable escaping HTML in JSON.
config.active_support.escape_html_entities_in_json = true
# Use SQL instead of Active Record's schema dumper when creating the database.
# This is necessary if your schema can't be completely dumped by the schema dumper,
# like if you have constraints or database-specific column types
# config.active_record.schema_format = :sql
# Enforce whitelist mode for mass assignment.
# This will create an empty whitelist of attributes available for mass-assignment for all models
# in your app. As such, your models will need to explicitly whitelist or blacklist accessible
# parameters by using an attr_accessible or attr_protected declaration.
config.active_record.whitelist_attributes = true
# Enable the asset pipeline
config.assets.enabled = true
# Version of your assets, change this if you want to expire all your assets
config.assets.version = '1.0'
end
end
Updated Heroku logs 2:
[StartupBlog]$heroku logs
2013-03-01T04:13:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/action_controller/metal.rb:246:in `block in action'
2013-03-01T04:13:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
2013-03-01T04:13:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/action_controller/metal.rb:203:in `dispatch'
2013-03-01T04:13:47+00:00 heroku[router]: at=info method=GET path=/users/sign_in host=startupblog.herokuapp.com fwd="174.95.207.136" dyno=web.1 queue=0 wait=0ms connect=2ms service=17ms status=500 bytes=643
2013-03-01T04:13:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
2013-03-01T04:13:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/action_dispatch/routing/route_set.rb:73:in `call'
2013-03-01T04:13:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/action_dispatch/routing/route_set.rb:36:in `call'
2013-03-01T04:13:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/action_dispatch/routing/mapper.rb:42:in `call'
2013-03-01T04:13:47+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'
2013-03-01T04:13:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
2013-03-01T04:13:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'
2013-03-01T04:13:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/action_dispatch/routing/route_set.rb:601:in `call'
2013-03-01T04:13:47+00:00
app[web.1]: vendor/bundle/ruby/1.9.1/gems/omniauth-1.1.3/lib/omniauth/strategy.rb:177:in `call!'
2013-03-01T04:13:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/omniauth-1.1.3/lib/omniauth/strategy.rb:157:in `call'
2013-03-01T04:13:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/omniauth-1.1.3/lib/omniauth/builder.rb:48:in `call'
2013-03-01T04:13:47+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'
2013-03-01T04:13:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/warden-1.2.1/lib/warden/manager.rb:34:in `catch'
2013-03-01T04:13:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/warden-1.2.1/lib/warden/manager.rb:34:in `call'
2013-03-01T04:13:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
2013-03-01T04:13:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/etag.rb:23:in `call'
2013-03-01T04:13:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/conditionalget.rb:25:in `call'
2013-03-01T04:13:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/action_dispatch/middleware/head.rb:14:in `call'
2013-03-01T04:13:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
2013-03-01T04:13:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/action_dispatch/middleware/flash.rb:242:in `call'
2013-03-01T04:13:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in `context'
2013-03-01T04:13:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in `call'
2013-03-01T04:13:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/action_dispatch/middleware/cookies.rb:341:in `call'
2013-03-01T04:13:47+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/query_cache.rb:64:in `call'
2013-03-01T04:13: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-03-01T04:13: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-03-01T04:13: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__3394535389802165164__call__3147947447447898363__callbacks'
2013-03-01T04:13: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-03-01T04:13: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-03-01T04:13: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-03-01T04:13: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-03-01T04:13: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-03-01T04:13: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-03-01T04:13: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-03-01T04:13: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-03-01T04:13: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-03-01T04:13: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-03-01T04:13: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-03-01T04:13: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-03-01T04:13: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-03-01T04:13: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-03-01T04:13: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-03-01T04:13: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-03-01T04:13: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-03-01T04:13: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-03-01T04:13: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-03-01T04:13: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-03-01T04:13:47+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-03-01T04:13: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-03-01T04:13: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-03-01T04:13: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-03-01T04:13: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-03-01T04:13:47+00:00 app[web.1]: /usr/local/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
2013-03-01T04:13:47+00:00 app[web.1]: /usr/local/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
2013-03-01T04:13: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-03-01T04:13: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-03-01T04:13:47+00:00 app[web.1]:
2013-03-01T04:13:47+00:00 app[web.1]:
2013-03-01T04:13:47+00:00 app[web.1]: /usr/local/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
2013-03-01T04:13:50+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=1ms service=12ms status=304 bytes=0
2013-03-01T04:13:50+00:00 heroku[router]: at=info method=GET path=/assets/logo2.png host=startupblog.herokuapp.com fwd="174.95.207.136" dyno=web.1 queue=0 wait=0ms connect=2ms service=9ms status=404 bytes=728
2013-03-01T04:13:50+00:00 app[web.1]: Processing by PagesController#home as HTML
2013-03-01T04:13:50+00:00 app[web.1]:
2013-03-01T04:13:50+00:00 app[web.1]: Rendered partials/_footer.html.erb (1.3ms)
2013-03-01T04:13:50+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/rack/logger.rb:16:in `block i
n call'
2013-03-01T04:13:50+00:00 app[web.1]: Rendered pages/home.html.erb within layouts/application (2.7ms)
2013-03-01T04:13:50+00:00 app[web.1]: Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)
2013-03-01T04:13:50+00:00 app[web.1]: Started GET "/assets/logo2.png" for 174.95.207.136 at 2013-03-01 04:13:50 +0000
2013-03-01T04:13:50+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-03-01T04:13:50+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-03-01T04:13:50+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'
2013-03-01T04:13:50+00:00 app[web.1]: Started GET "/" for 174.95.207.136 at 2013-03-01 04:13:50 +0000
2013-03-01T04:13:50+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-03-01T04:13:50+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-03-01T04:13:50+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-03-01T04:13:50+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-03-01T04:13:50+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/application.rb:223:in `call'
2013-03-01T04:13:50+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-03-01T04:13:50+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-03-01T04:13:50+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/engine.rb:479:in `call'
2013-03-01T04:13:50+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'
2013-03-01T04:13:50+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-03-01T04:13:50+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
2013-03-01T04:13:50+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-03-01T04:13:50+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-03-01T04:13:50+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'
2013-03-01T04:13:50+00:00 app[web.1]: Rendered partials/_header.html.erb (1.0ms)
2013-03-01T04:13:50+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-03-01T04:13:50+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/assets/logo2.png"):
2013-03-01T04:13:50+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-03-01T04:13:50+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-03-01T04:13:50+00:00 app[web.1]: /usr/local/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
2013-03-01T04:13:50+00:00 app[web.1]: /usr/local/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
2013-03-01T04:13:50+00:00 app[web.1]:
2013-03-01T04:13:50+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-03-01T04:13:50+00:00 app[web.1]: /usr/local/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
2013-03-01T04:13:50+00:00 app[web.1]:
Looks like there's an issue with your logo.png file. Did you precompile your assets before deploying?
rake assets:precompile
This will generate the assets for production. Check in the resulting files (public/assets) and then push back up to Heroku.
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