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.
Related
Could one advise me on how to correct this error, i have no clue and i have tried all helps from other pages on stackoverflow.
i have tried all the below recommended suggestions by others:
suggestion1: log entries
gem 'rails_12factor'
changing config.log_level = :debug
rake db:migrate
heroku config:set
but i am unsure why i get the below error. Your help and advise would be much appreciated.
error message in console:
2018-06-05T16:57:24.444942+00:00 heroku[router]: at=info method=GET path="/adverts/product-manager" host=www.africanjober.com request_id=f4308437-df4b-435e-a4d9-ee4080c86de9 fwd="178.239.106.244" dyno=web.1 connect=1ms service=29ms status=500 bytes=1754 protocol=http
2018-06-05T16:57:24.674917+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=www.africanjober.com request_id=7d28bd15-a173-4a7f-8f0d-79bb5ebddadd fwd="178.239.106.244" dyno=web.1 connect=1ms service=3ms status=304 bytes=133 protocol=http
complete console message:
018-06-05T16:57:24.443367+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activerecord-4.1.10/lib/active_record/persistence.rb:484:in `create_or_update'
2018-06-05T16:57:24.443369+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activerecord-4.1.10/lib/active_record/callbacks.rb:302:in `block in create_or_update'
2018-06-05T16:57:24.443371+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.10/lib/active_support/callbacks.rb:113:in `call'
2018-06-05T16:57:24.443373+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.10/lib/active_support/callbacks.rb:552:in `block (2 levels) in compile'
2018-06-05T16:57:24.443374+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.10/lib/active_support/callbacks.rb:502:in `call'
2018-06-05T16:57:24.443376+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.10/lib/active_support/callbacks.rb:86:in `run_callbacks'
2018-06-05T16:57:24.443377+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activerecord-4.1.10/lib/active_record/callbacks.rb:302:in `create_or_update'
2018-06-05T16:57:24.443379+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activerecord-4.1.10/lib/active_record/persistence.rb:103:in `save'
2018-06-05T16:57:24.443381+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activerecord-4.1.10/lib/active_record/validations.rb:51:in `save'
2018-06-05T16:57:24.443382+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activerecord-4.1.10/lib/active_record/attribute_methods/dirty.rb:21:in `save'
2018-06-05T16:57:24.443383+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activerecord-4.1.10/lib/active_record/transactions.rb:268:in `block (2 levels) in save'
2018-06-05T16:57:24.443385+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activerecord-4.1.10/lib/active_record/transactions.rb:329:in `block in with_transaction_returning_status'
2018-06-05T16:57:24.443387+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activerecord-4.1.10/lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `block in transaction'
2018-06-05T16:57:24.443395+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activerecord-4.1.10/lib/active_record/connection_adapters/abstract/database_statements.rb:209:in `within_new_transaction'
2018-06-05T16:57:24.443397+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activerecord-4.1.10/lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `transaction'
2018-06-05T16:57:24.443398+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activerecord-4.1.10/lib/active_record/transactions.rb:208:in `transaction'
2018-06-05T16:57:24.443400+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activerecord-4.1.10/lib/active_record/transactions.rb:326:in `with_transaction_returning_status'
2018-06-05T16:57:24.443402+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activerecord-4.1.10/lib/active_record/transactions.rb:268:in `block in save'
2018-06-05T16:57:24.443404+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activerecord-4.1.10/lib/active_record/transactions.rb:283:in `rollback_active_record_state!'
2018-06-05T16:57:24.443406+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activerecord-4.1.10/lib/active_record/transactions.rb:267:in `save'
2018-06-05T16:57:24.443407+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activerecord-4.1.10/lib/active_record/persistence.rb:34:in `create'
2018-06-05T16:57:24.443409+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/impressionist-1.6.1/app/controllers/impressionist_controller.rb:45:in `impressionist_subapp_filter'
2018-06-05T16:57:24.443411+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/impressionist-1.6.1/app/controllers/impressionist_controller.rb:9:in `block in impressionist'
2018-06-05T16:57:24.443412+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.10/lib/active_support/callbacks.rb:445:in `instance_exec'
2018-06-05T16:57:24.443414+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.10/lib/active_support/callbacks.rb:445:in `block in make_lambda'
2018-06-05T16:57:24.443416+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.10/lib/active_support/callbacks.rb:161:in `block in halting'
2018-06-05T16:57:24.443418+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.10/lib/active_support/callbacks.rb:501:in `block in call'
2018-06-05T16:57:24.443420+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.10/lib/active_support/callbacks.rb:501:in `each'
2018-06-05T16:57:24.443422+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.10/lib/active_support/callbacks.rb:501:in `call'
2018-06-05T16:57:24.443423+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.10/lib/active_support/callbacks.rb:495:in `block (2 levels) in around'
2018-06-05T16:57:24.443425+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.10/lib/active_support/callbacks.rb:306:in `block (2 levels) in halting'
2018-06-05T16:57:24.443427+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/public_activity-1.5.0/lib/public_activity/utility/store_controller.rb:25:in `store_controller_for_public_activity'
2018-06-05T16:57:24.443429+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.10/lib/active_support/callbacks.rb:429:in `block in make_lambda'
2018-06-05T16:57:24.443430+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.10/lib/active_support/callbacks.rb:305:in `block in halting'
2018-06-05T16:57:24.443432+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.10/lib/active_support/callbacks.rb:494:in `block in around'
2018-06-05T16:57:24.443434+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.10/lib/active_support/callbacks.rb:502:in `call'
2018-06-05T16:57:24.443436+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.10/lib/active_support/callbacks.rb:86:in `run_callbacks'
2018-06-05T16:57:24.443437+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/actionpack-4.1.10/lib/abstract_controller/callbacks.rb:19:in `process_action'
2018-06-05T16:57:24.443439+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/actionpack-4.1.10/lib/action_controller/metal/rescue.rb:29:in `process_action'
2018-06-05T16:57:24.443440+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/actionpack-4.1.10/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
2018-06-05T16:57:24.443442+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.10/lib/active_support/notifications.rb:159:in `block in instrument'
2018-06-05T16:57:24.443444+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.10/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2018-06-05T16:57:24.443445+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.10/lib/active_support/notifications.rb:159:in `instrument'
2018-06-05T16:57:24.443447+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/actionpack-4.1.10/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
2018-06-05T16:57:24.443449+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/actionpack-4.1.10/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
2018-06-05T16:57:24.443451+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activerecord-4.1.10/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2018-06-05T16:57:24.443454+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/actionview-4.1.10/lib/action_view/rendering.rb:30:in `process'
2018-06-05T16:57:24.443452+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/actionpack-4.1.10/lib/abstract_controller/base.rb:136:in `process'
2018-06-05T16:57:24.443462+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/actionpack-4.1.10/lib/action_controller/metal.rb:196:in `dispatch'
2018-06-05T16:57:24.443464+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/actionpack-4.1.10/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
2018-06-05T16:57:24.443466+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/actionpack-4.1.10/lib/action_controller/metal.rb:232:in `block in action'
2018-06-05T16:57:24.443468+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/actionpack-4.1.10/lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
2018-06-05T16:57:24.443469+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/actionpack-4.1.10/lib/action_dispatch/routing/route_set.rb:50:in `call'
2018-06-05T16:57:24.443471+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/actionpack-4.1.10/lib/action_dispatch/journey/router.rb:73:in `block in call'
2018-06-05T16:57:24.443473+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/actionpack-4.1.10/lib/action_dispatch/journey/router.rb:59:in `each'
2018-06-05T16:57:24.443475+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/actionpack-4.1.10/lib/action_dispatch/journey/router.rb:59:in `call'
2018-06-05T16:57:24.443476+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/actionpack-4.1.10/lib/action_dispatch/routing/route_set.rb:692:in `call'
2018-06-05T16:57:24.443478+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'
2018-06-05T16:57:24.443480+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'
2018-06-05T16:57:24.443482+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'
2018-06-05T16:57:24.443483+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'
2018-06-05T16:57:24.443485+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'
2018-06-05T16:57:24.443487+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'
2018-06-05T16:57:24.443488+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/actionpack-4.1.10/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
2018-06-05T16:57:24.443490+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/actionpack-4.1.10/lib/action_dispatch/middleware/flash.rb:254:in `call'
2018-06-05T16:57:24.443492+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'
2018-06-05T16:57:24.443493+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'
2018-06-05T16:57:24.443495+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/actionpack-4.1.10/lib/action_dispatch/middleware/cookies.rb:562:in `call'
2018-06-05T16:57:24.443497+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activerecord-4.1.10/lib/active_record/query_cache.rb:36:in `call'
2018-06-05T16:57:24.443498+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activerecord-4.1.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
2018-06-05T16:57:24.443500+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/actionpack-4.1.10/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
2018-06-05T16:57:24.443501+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.10/lib/active_support/callbacks.rb:82:in `run_callbacks'
2018-06-05T16:57:24.443505+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/actionpack-4.1.10/lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
2018-06-05T16:57:24.443503+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/actionpack-4.1.10/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2018-06-05T16:57:24.443507+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/actionpack-4.1.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
2018-06-05T16:57:24.443509+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/actionpack-4.1.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2018-06-05T16:57:24.443511+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/railties-4.1.10/lib/rails/rack/logger.rb:38:in `call_app'
2018-06-05T16:57:24.443512+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/railties-4.1.10/lib/rails/rack/logger.rb:20:in `block in call'
2018-06-05T16:57:24.443514+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.10/lib/active_support/tagged_logging.rb:68:in `block in tagged'
2018-06-05T16:57:24.443516+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.10/lib/active_support/tagged_logging.rb:26:in `tagged'
2018-06-05T16:57:24.443518+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.10/lib/active_support/tagged_logging.rb:68:in `tagged'
2018-06-05T16:57:24.443520+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/railties-4.1.10/lib/rails/rack/logger.rb:20:in `call'
2018-06-05T16:57:24.443521+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/actionpack-4.1.10/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2018-06-05T16:57:24.443523+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'
2018-06-05T16:57:24.443525+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'
2018-06-05T16:57:24.443527+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.10/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
2018-06-05T16:57:24.443530+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'
2018-06-05T16:57:24.443528+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/actionpack-4.1.10/lib/action_dispatch/middleware/static.rb:84:in `call'
2018-06-05T16:57:24.443531+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/railties-4.1.10/lib/rails/engine.rb:514:in `call'
2018-06-05T16:57:24.443538+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/railties-4.1.10/lib/rails/application.rb:144:in `call'
2018-06-05T16:57:24.443540+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/rack-1.5.5/lib/rack/lock.rb:17:in `call'
2018-06-05T16:57:24.443542+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/rack-1.5.5/lib/rack/content_length.rb:14:in `call'
2018-06-05T16:57:24.443544+00:00 app[web.1]: vendor/bundle/ruby/2.3.0/gems/rack-1.5.5/lib/rack/handler/webrick.rb:60:in `service'
2018-06-05T16:57:24.443545+00:00 app[web.1]: vendor/ruby-2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service'
2018-06-05T16:57:24.443547+00:00 app[web.1]: vendor/ruby-2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run'
2018-06-05T16:57:24.443549+00:00 app[web.1]: vendor/ruby-2.3.0/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread'
2018-06-05T16:57:24.443551+00:00 app[web.1]:
2018-06-05T16:57:24.443552+00:00 app[web.1]:
2018-06-05T16:57:24.444942+00:00 heroku[router]: at=info method=GET path="/adverts/product-manager" host=www.africanjober.com request_id=f4308437-df4b-435e-a4d9-ee4080c86de9 fwd="178.239.106.244" dyno=web.1 connect=1ms service=29ms status=500 bytes=1754 protocol=http
2018-06-05T16:57:24.674917+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=www.africanjober.com request_id=7d28bd15-a173-4a7f-8f0d-79bb5ebddadd fwd="178.239.106.244" dyno=web.1 connect=1ms service=3ms status=304 bytes=133 protocol=http
It looks to be a database error which typically happens when you only run migrations on your local and forget to run migrations on the heroku
box. Run
heroku run rake db:migrate
to run migrations on your deployed box after you've pushed your latest git commit to it.
This has been resolved. Thank you to everyone
This was due to restricted access to the database using heroku.
I was on the heroku DATABASE_URL which permitted a maximum on 10'000 rows of code. i had 10'891 rows of code
to find out more on your pg database, type: heroku pg:info --app yourAppName
i had to upgrade [in the admin panel] to HEROKU_POSTGRESQL_GOLD_URL or you can simply type in the terminal heroku pg:upgrade HEROKU_POSTGRESQL_GOLD --app yourAppName
before you upgrade ensure maintenance is on. in the terminal type: heroku maintenance:on
new database url i selected is currently $9/mth - this permits more rows of code
once you've upgraded in the terminal, type: heroku pg:promote HEROKU_POSTGRESQL_GOLD to set it as the default database
if you currently have data stored in the previous, type: heroku pg:copy DATABASE_URL HEROKU_POSTGRESQL_GOLD --app yourAppName to transfer data
for more detailed info checkout this link: upgrading-heroku-postgres-databases
I am new to RoR and Heroku, i have uploded the app on github repo however am getting an error while running the app, on the browser. this is the screenshot of the error and the heroku log:-
Front end error message shows
"We're sorry, but something went wrong.
This error was automatically reported, sorry for the inconvenience."
2014-07-01T05:44:24.617831+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/airbrake-4.0.0/lib/airbrake.rb:172:in `new'
2014-07-01T05:44:24.617835+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/airbrake-4.0.0/lib/airbrake.rb:132:in `notify_or_ignore'
2014-07-01T05:44:24.617827+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/airbrake-4.0.0/lib/airbrake/notice.rb:322:in `find_session_data'
2014-07-01T05:44:24.617833+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/airbrake-4.0.0/lib/airbrake.rb:172:in `build_notice_for'
2014-07-01T05:44:24.617818+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:273:in `session_exists?'
2014-07-01T05:44:24.617837+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/airbrake-4.0.0/lib/airbrake/rails/middleware.rb:40:in `notify_airbrake'
2014-07-01T05:44:24.617821+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:107:in `exists?'
2014-07-01T05:44:24.617839+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/airbrake-4.0.0/lib/airbrake/rails/middleware.rb:15:in `rescue in call'
2014-07-01T05:44:24.617843+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.18/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
2014-07-01T05:44:24.617854+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.18/lib/action_dispatch/middleware/request_id.rb:22:in `call'
2014-07-01T05:44:24.617856+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'
2014-07-01T05:44:24.617849+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-3.2.18/lib/rails/rack/logger.rb:16:in `block in call'
2014-07-01T05:44:24.617852+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-3.2.18/lib/rails/rack/logger.rb:16:in `call'
2014-07-01T05:44:24.617858+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'
2014-07-01T05:44:24.617890+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.18/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
2014-07-01T05:44:24.617892+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'
2014-07-01T05:44:24.617902+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.18/lib/action_dispatch/middleware/static.rb:63:in `call'
2014-07-01T05:44:24.617904+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward'
2014-07-01T05:44:24.617906+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in `fetch'
2014-07-01T05:44:24.617908+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:in `lookup'
2014-07-01T05:44:24.617910+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in `call!'
2014-07-01T05:44:24.617912+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call'
2014-07-01T05:44:24.617845+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.18/lib/action_dispatch/mi
ddleware/show_exceptions.rb:56:in `call'
2014-07-01T05:44:24.617915+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/airbrake-4.0.0/lib/airbrake/user_informer.rb:12:in `call'
2014-07-01T05:44:24.617917+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-3.2.18/lib/rails/engine.rb:484:in `call'
2014-07-01T05:44:24.617841+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/airbrake-4.0.0/lib/airbrake/rails/middleware.rb:12:in `call'
2014-07-01T05:44:24.617847+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-3.2.18/lib/rails/rack/logger.rb:32:in `call_app'
2014-07-01T05:44:24.617851+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.18/lib/active_support/tagged_logging.rb:22:in `tagged'
2014-07-01T05:44:24.617913+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/airbrake-4.0.0/lib/airbrake/user_informer.rb:16:in `_call'
2014-07-01T05:44:24.617919+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-3.2.18/lib/rails/application.rb:231:in `call'
2014-07-01T05:44:24.617921+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-3.2.18/lib/rails/railtie/configurable.rb:30:in `method_missing'
2014-07-01T05:44:24.617922+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:576:in `process_client'
2014-07-01T05:44:24.617924+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:670:in `worker_loop'
2014-07-01T05:44:24.617930+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/bin/unicorn:126:in `<top (required)>'
2014-07-01T05:44:24.617926+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:525:in `spawn_missing_workers'
2014-07-01T05:44:24.617934+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/bin/unicorn:23:in `<main>'
2014-07-01T05:44:24.617928+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:140:in `start'
2014-07-01T05:44:24.617931+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/bin/unicorn:23:in `load'
2014-07-01T05:44:24.617936+00:00 app[web.1]:
2014-07-01T05:44:24.617938+00:00 app[web.1]:
2014-07-01T05:44:33.019295+00:00 heroku[router]: at=info method=GET path="/" host=goofycarpool.herokuapp.com request_id=51427406-bc26-48c4-9961-a27401d67249 fwd="122.174.120.48" dyno=web.1 connect=1ms service=80ms status=500 bytes=1778
2014-07-01T05:44:32.964192+00:00 app[web.1]: Started GET "/" for 122.174.120.48 at 2014-07-01 05:44:32 +0000
2014-07-01T05:44:33.018094+00:00 app[web.1]:
2014-07-01T05:44:33.018101+00:00 app[web.1]: ArgumentError (A secret is required to generate an integrity hash for cookie session data. Use config.secret_token = "some secret phrase of at least 30 characters"in config/initializers/secret_token.rb):
2014-07-01T05:44:33.018103+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.18/lib/action_dispatch/middleware/cookies.rb:319:in `ensure_secret_secure'
2014-07-01T05:44:33.018105+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.18/lib/action_dispatch/middleware/cookies.rb:284:in `initialize'
2014-07-01T05:44:33.018107+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.18/lib/action_dispatch/middleware/cookies.rb:231:in `new'
2014-07-01T05:44:33.018108+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.18/lib/action_dispatch/middleware/cookies.rb:231:in `signed'
2014-07-01T05:44:33.018113+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.18/lib/action_dispatch/middleware/session/cookie_store.rb:48:in `unpacked_cookie_data'
2014-07-01T05:44:33.018110+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.18/lib/action_dispatch/middleware/session/cookie_store.rb:50:in `block in unpacked_cookie_data'
2014-07-01T05:44:33.018112+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.18/lib/action_dispatch/middleware/session/abstract_store.rb:57:in `stale_session_check!'
2014-07-01T05:44:33.018132+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.18/lib/action_dispatch/middleware/session/abstract_store.rb:53:in `block in extract_session_id'
2014-07-01T05:44:33.018134+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.18/lib/action_dispatch/middleware/session/abstract_store.rb:57:in `stale_session_check!'
2014-07-01T05:44:33.018129+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/session/cookie.rb:107:in `extract_session_id'
2014-07-01T05:44:33.018145+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:273:in `session_exists?'
2014-07-01T05:44:33.018139+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:43:in `load_session_id!'
2014-07-01T05:44:33.018136+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.18/lib/action_dispatch/middleware/session/abstract_store.rb:53:in `extract_session_id'
2014-07-01T05:44:33.018141+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:32:in `[]'
2014-07-01T05:44:33.018143+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:267:in `current_session_id'
2014-07-01T05:44:33.018147+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:107:in `exists?'
2014-07-01T05:44:33.018149+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:127:in `load_for_read!'
2014-07-01T05:44:33.018160+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/airbrake-4.0.0/lib/airbrake.rb:172:in `build_notice_for'
2014-07-01T05:44:33.018158+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/airbrake-4.0.0/lib/airbrake.rb:172:in `new'
2014-07-01T05:44:33.018162+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/airbrake-4.0.0/lib/airbrake.rb:132:in `notify_or_ignore'
2014-07-01T05:44:33.018154+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/airbrake-4.0.0/lib/airbrake/notice.rb:322:in `find_session_data'
2014-07-01T05:44:33.018156+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/airbrake-4.0.0/lib/airbrake/notice.rb:131:in `initialize'
2014-07-01T05:44:33.018164+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/airbrake-4.0.0/lib/airbrake/rails/middleware.rb:40:in `notify_airbrake'
2014-07-01T05:44:33.018151+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:59:in `[]'
2014-07-01T05:44:33.018228+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-3.2.18/lib/rails/rack/logger.rb:16:in `block in call'
2014-07-01T05:44:33.018230+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.18/lib/active_support/tagged_logging.rb:22:in `tagged'
2014-07-01T05:44:33.018221+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.18/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
2014-07-01T05:44:33.018223+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.18/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
2014-07-01T05:44:33.018241+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.18/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
2014-07-01T05:44:33.018214+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/airbrake-4.0.0/lib/airbrake/rails/middleware.rb:15:in `rescue in call'
2014-07-01T05:44:33.018239+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'
2014-07-01T05:44:33.018219+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/airbrake-4.0.0/lib/airbrake/rails/middleware.rb:12:in `call'
2014-07-01T05:44:33.018243+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'
2014-07-01T05:44:33.018255+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.18/lib/action_dispatch/middleware/static.rb:63:in `call'
2014-07-01T05:44:33.018226+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-3.2.18/lib/rails/rack/logger.rb:32:in `call_app'
2014-07-01T05:44:33.018257+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward'
2014-07-01T05:44:33.018232+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-3.2.18/lib/rails/rack/logger.rb:16:in `call'
2014-07-01T05:44:33.018258+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in `fetch'
2014-07-01T05:44:33.018260+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:in `lookup'
2014-07-01T05:44:33.018236+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'
2014-07-01T05:44:33.018261+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in `call!'
2014-07-01T05:44:33.018264+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/airbrake-4.0.0/lib/airbrake/user_informer.rb:16:in `_call'
2014-07-01T05:44:33.018234+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.18/lib/action_dispatch/middleware/request_id.rb:22:in `call'
2014-07-01T05:44:33.018270+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-3.2.18/lib/rails/railtie/configurable.rb:30:in `method_missing'
2014-07-01T05:44:33.018266+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/airbrake-4.0.0/lib/airbrake/user_informer.rb:12:in `call'
2014-07-01T05:44:33.018263+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call'
2014-07-01T05:44:33.018269+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-3.2.18/lib/rails/application.rb:231:in `call'
2014-07-01T05:44:33.018272+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:576:in `process_client'
2014-07-01T05:44:33.018267+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-3.2.18/lib/rails/engine.rb:484:in `call'
2014-07-01T05:44:33.018280+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/bin/unicorn:23:in `<main>'
2014-07-01T05:44:33.018277+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/bin/unicorn:126:in `<top (required)>'
2014-07-01T05:44:33.018273+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:670:in `worker_loop'
2014-07-01T05:44:33.018283+00:00 app[web.1]:
2014-07-01T05:44:33.018279+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/bin/unicorn:23:in `load'
2014-07-01T05:44:33.018276+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:140:in `start'
2014-07-01T05:44:33.018281+00:00 app[web.1]:
2014-07-01T05:44:33.018274+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:525:in `spawn_missing_workers'
run
$ rake secret
and then paste the output string in config/initializers/secret_token.rb
MyAppNAME_GOES_HERE::Application.config.secret_key_base = 'e5d6fed054aadcb955c17d90ab0cae35b9921e3af7fa0f88ba2b8bcee6ab1b087e34c2081c867b42093f81197bd4272c49a2337fc7d31b6f892ae6ef57e842d7'
now commit & push all changes to heroku.
PS: Instead of harder-coded secret_key_base, it makes more sense from security prespective to set this a ENV var on heroku, like this:
$ heroku config:set SECRET_KEY_BASE=that_random_string_goes_here
for more details on how to do this, check this. But if you just getting starting started, you can learn how to do this later & this hard-coded will workout any problems
Never place the secret key in the config/initializers/secret_token.rb file directly.
It is a security threat always
Instead create an ENV variable as
MyAppNAME_GOES_HERE::Application.config.secret_key_base = ENV[SECRET_KEY]
and place the SECRET_KEY in heroku setting under Heroku login >> under_app >> setting >> reveal config vars
and finally restart your application
I am at chapter 3 of Michael Hartl's tutorial but when I do git push heroku master and it says that it has been deployed to heroku successfully but when I go to the url: http://young-thicket-2043.herokuapp.com/ it says that the app cannot be seen.
I've checked out heroku logs and this was given:
2014-07-02T08:07:16.462137+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
2014-07-02T08:07:16.462132+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
2014-07-02T08:07:16.462138+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/engine.rb:511:in `call'
2014-07-02T08:07:16.462148+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-07-02T08:07:16.462150+00:00 app[web.1]:
2014-07-02T08:07:16.462151+00:00 app[web.1]:
2014-07-02T08:07:16.462158+00:00 app[web.1]:
2014-07-02T08:07:16.462159+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/"):
2014-07-02T08:07:16.462161+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
2014-07-02T08:07:16.462162+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2014-07-02T08:07:16.462164+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/rack/logger.rb:38:in `call_app'
2014-07-02T08:07:16.462165+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/rack/logger.rb:20:in `block in call'
2014-07-02T08:07:16.462167+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.5/lib/active_support/tagged_logging.rb:68:in `block in tagged'
2014-07-02T08:07:16.462168+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.5/lib/active_support/tagged_logging.rb:26:in `tagged'
2014-07-02T08:07:16.462170+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.5/lib/active_support/tagged_logging.rb:68:in `tagged'
2014-07-02T08:07:16.462171+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/rack/logger.rb:20:in `call'
2014-07-02T08:07:16.462173+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2014-07-02T08:07:16.462174+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
2014-07-02T08:07:16.462176+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
2014-07-02T08:07:16.462177+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.5/lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2014-07-02T08:07:16.462180+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
2014-07-02T08:07:16.462194+00:00 app[web.1]:
2014-07-02T08:07:16.462179+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/static.rb:64:in `call'
2014-07-02T08:07:16.462184+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
2014-07-02T08:07:16.462185+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-07-02T08:07:16.462187+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-07-02T08:07:16.462181+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/engine.rb:511:in `call'
2014-07-02T08:07:16.462183+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/application.rb:97:in `call'
2014-07-02T08:07:16.462191+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-07-02T08:07:16.462192+00:00 app[web.1]:
2014-07-02T08:07:16.462188+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2014-07-02T08:07:16.462190+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2014-07-02T08:07:16.781513+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=young-thicket-2043.herokuapp.com request_id=f65ad084-f721-4a4c-8f99-bdd1938d4dd4 fwd="192.122.131.37" dyno=web.1 connect=0ms service=5ms status=304 bytes=133
2014-07-02T08:16:35.325747+00:00 heroku[router]: at=info method=GET path="/" host=young-thicket-2043.herokuapp.com request_id=4fc6cfec-39d8-4a2c-ac04-09013042ca7b fwd="192.122.131.37" dyno=web.1 connect=1ms service=520ms status=404 bytes=1616
2014-07-02T08:16:35.319865+00:00 app[web.1]:
2014-07-02T08:16:35.319873+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
2014-07-02T08:16:35.319874+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2014-07-02T08:16:35.319870+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/"):
2014-07-02T08:16:35.217481+00:00 app[web.1]: Started GET "/" for 192.122.131.37 at 2014-07-02 08:16:35 +0000
2014-07-02T08:16:35.319876+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/rack/logger.rb:38:in `call_app'
2014-07-02T08:16:35.319891+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.5/lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2014-07-02T08:16:35.319878+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/rack/logger.rb:20:in `block in call'
2014-07-02T08:16:35.319892+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/static.rb:64:in `call'
2014-07-02T08:16:35.319880+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.5/lib/active_support/tagged_logging.rb:68:in `block in tagged'
2014-07-02T08:16:35.319881+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.5/lib/active_support/tagged_logging.rb:26:in `tagged'
2014-07-02T08:16:35.319921+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2014-07-02T08:16:35.319883+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.5/lib/active_support/tagged_logging.rb:68:in `tagged'
2014-07-02T08:16:35.319886+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2014-07-02T08:16:35.319884+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/rack/logger.rb:20:in `call'
2014-07-02T08:16:35.225563+00:00 app[web.1]: Started GET "/" for 192.122.131.37 at 2014-07-02 08:16:35 +0000
2014-07-02T08:16:35.319919+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2014-07-02T08:16:35.321135+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/rack/logger.rb:20:in `block in call'
2014-07-02T08:16:35.321133+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2014-07-02T08:16:35.319923+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-07-02T08:16:35.319887+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
2014-07-02T08:16:35.321127+00:00 app[web.1]:
2014-07-02T08:16:35.319895+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/engine.rb:511:in `call'
2014-07-02T08:16:35.319897+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/application.rb:97:in `call'
2014-07-02T08:16:35.319894+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
2014-07-02T08:16:35.321137+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.5/lib/active_support/tagged_logging.rb:68:in `block in tagged'
2014-07-02T08:16:35.321145+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
2014-07-02T08:16:35.321147+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.5/lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2014-07-02T08:16:35.321134+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/rack/logger.rb:38:in `call_app'
2014-07-02T08:16:35.321138+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.5/lib/active_support/tagged_logging.rb:26:in `tagged'
2014-07-02T08:16:35.319901+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-07-02T08:16:35.319899+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-07-02T08:16:35.319898+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
2014-07-02T08:16:35.319925+00:00 app[web.1]:
2014-07-02T08:16:35.319889+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
2014-07-02T08:16:35.319924+00:00 app[web.1]:
2014-07-02T08:16:35.321141+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/rack/logger.rb:20:in `call'
2014-07-02T08:16:35.321161+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-07-02T08:16:35.321140+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.5/lib/active_support/tagged_logging.rb:68:in `tagged'
2014-07-02T08:16:35.321130+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/"):
2014-07-02T08:16:35.321144+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
2014-07-02T08:16:35.321151+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/engine.rb:511:in `call'
2014-07-02T08:16:35.321149+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
2014-07-02T08:16:35.321131+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
2014-07-02T08:16:35.321158+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2014-07-02T08:16:35.321148+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/static.rb:64:in `call'
2014-07-02T08:16:35.321155+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-07-02T08:16:35.321162+00:00 app[web.1]:
2014-07-02T08:16:35.321142+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2014-07-02T08:16:35.321154+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
2014-07-02T08:16:35.321152+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/application.rb:97:in `call'
2014-07-02T08:16:35.321156+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-07-02T08:16:35.321159+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2014-07-02T08:16:35.321163+00:00 app[web.1]:
2014-07-02T08:16:35.764555+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=young-thicket-2043.herokuapp.com request_id=ca661424-73d7-4799-8ad7-5fed577fd9c2 fwd="192.122.131.37" dyno=web.1 connect=1ms service=52ms status=304 bytes=133
2014-07-02T08:16:40.905460+00:00 heroku[api]: Starting process with command `bundle exec rake db` by huicheese#gmail.com
2014-07-02T08:16:44.546386+00:00 heroku[run.7223]: State changed from starting to up
2014-07-02T08:16:44.833806+00:00 heroku[run.7223]: Awaiting client
2014-07-02T08:16:55.930802+00:00 heroku[api]: Starting process with command `bundle exec rake db:migrate` by huicheese#gmail.com
2014-07-02T08:16:59.934050+00:00 heroku[run.6502]: State changed from starting to up
2014-07-02T08:16:59.814001+00:00 heroku[run.6502]: Awaiting client
2014-07-02T08:17:16.236553+00:00 heroku[run.7223]: State changed from up to complete
2014-07-02T08:17:16.224283+00:00 heroku[run.7223]: Process exited with status 128
2014-07-02T08:17:14.840989+00:00 heroku[run.7223]: Error R13 (Attach error) -> Failed to attach to process
2014-07-02T08:17:31.040049+00:00 heroku[run.6502]: State changed from up to complete
2014-07-02T08:17:29.816567+00:00 heroku[run.6502]: Error R13 (Attach error) -> Failed to attach to process
2014-07-02T08:17:31.023583+00:00 heroku[run.6502]: Process exited with status 128
Can anyone shed some light on this?
If you look at your logs you can see
ActionController::RoutingError (No route matches [GET] "/")
Which basically means that you don't have any root route setup in your routes.rb. Inside your routes.rb add this line:
root 'pages#show'
By writing this you are setting your root route to Page Controllers show action
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 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.