I am trying to deploy to Heroku but am getting the dreaded "The page you were looking for doesn't exist." error on all pages. After reading similar issues, I've checked my routes file but all looks okay to me. Here's what I have:
Gemfile:
source 'https://rubygems.org'
ruby '2.1.1'
gem 'rails', '4.1.0'
gem 'bootstrap-sass', '~> 3.1.1.1'
gem 'sprockets', '~> 2.11.0'
gem 'bcrypt', '~> 3.1.5'
gem 'sass-rails', '~> 4.0.3'
gem 'uglifier', '>= 1.3.0'
gem 'coffee-rails', '~> 4.0.0'
gem 'jquery-rails'
gem 'turbolinks'
gem 'jbuilder', '~> 2.0'
gem 'sdoc', '~> 0.4.0', group: :doc
gem 'spring', group: :development
group :development do
gem 'better_errors'
gem 'binding_of_caller', :platforms=>[:mri_19, :mri_20, :mri_21, :rbx]
gem 'quiet_assets'
gem 'rails_layout'
end
group :development, :test do
gem 'sqlite3'
gem 'factory_girl_rails'
gem 'rspec-rails', '~> 2.14.1'
end
group :production do
gem 'thin'
gem 'pg', '~> 0.17.1'
gem 'rails_12factor', '~> 0.0.2'
end
group :test do
gem 'capybara'
gem 'database_cleaner'
gem 'faker'
gem 'launchy'
gem 'selenium-webdriver'
end
routes.rb:
Hartl::Application.routes.draw do
root to: 'static_pages#home'
resources :users
match '/help', to: 'static_pages#help', via: 'get'
match '/about', to: 'static_pages#about', via: 'get'
match '/contact', to: 'static_pages#contact', via: 'get'
match '/signup', to: 'users#new', via: 'get'
end
Heroku logs:
2014-05-01T14:38:40.012807+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.0/lib/action_dispatch/middleware/ssl.rb:24:in `call'
2014-05-01T14:38:40.012822+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in `run'
2014-05-01T14:38:40.012846+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-4.1.0/lib/rails/commands.rb:17:in `<top (required)>'
2014-05-01T14:38:40.012799+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.0/lib/action_dispatch/middleware/static.rb:64:in `call'
2014-05-01T14:38:40.012819+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/thin-1.6.2/lib/thin/connection.rb:39:in `receive_data'
2014-05-01T14:38:40.012844+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-4.1.0/lib/rails/commands/commands_tasks.rb:40:in `run_command!'
2014-05-01T14:38:40.012809+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-4.1.0/lib/rails/engine.rb:514:in `call'
2014-05-01T14:38:40.012823+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/thin-1.6.2/lib/thin/backends/base.rb:73:in `start'
2014-05-01T14:38:40.012847+00:00 app[web.1]: bin/rails:8:in `require'
2014-05-01T14:38:40.012793+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-4.1.0/lib/rails/rack/logger.rb:20:in `call'
2014-05-01T14:38:40.012812+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
2014-05-01T14:38:40.012831+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-4.1.0/lib/rails/commands/commands_tasks.rb:81:in `block in server'
2014-05-01T14:38:40.012810+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-4.1.0/lib/rails/application.rb:144:in `call'
2014-05-01T14:38:40.012825+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/thin-1.6.2/lib/thin/server.rb:162:in `start'
2014-05-01T14:38:40.012813+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/thin-1.6.2/lib/thin/connection.rb:86:in `block in pre_process'
2014-05-01T14:38:40.012826+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/handler/thin.rb:16:in `run'
2014-05-01T14:38:40.012850+00:00 app[web.1]:
2014-05-01T14:38:40.012815+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/thin-1.6.2/lib/thin/connection.rb:84:in `catch'
2014-05-01T14:38:40.012828+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/server.rb:264:in `start'
2014-05-01T14:38:40.012851+00:00 app[web.1]:
2014-05-01T14:38:40.012816+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/thin-1.6.2/lib/thin/connection.rb:84:in `pre_process'
2014-05-01T14:38:40.012829+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-4.1.0/lib/rails/commands/server.rb:69:in `start'
2014-05-01T14:38:40.005302+00:00 app[web.1]: Started GET "/users" for 69.245.11.208 at 2014-05-01 14:38:40 +0000
2014-05-01T14:38:40.012849+00:00 app[web.1]: bin/rails:8:in `<main>'
2014-05-01T14:44:38.389637+00:00 heroku[run.7236]: State changed from starting to up
2014-05-01T14:44:38.316951+00:00 heroku[run.7236]: Awaiting client
2014-05-01T14:44:38.372859+00:00 heroku[run.7236]: Starting process with command `bundle exec rake db:migrate`
2014-05-01T14:44:45.056822+00:00 heroku[run.7236]: State changed from up to complete
2014-05-01T14:44:48.286258+00:00 heroku[router]: at=info method=GET path=/ host=still-wave-7596.herokuapp.com request_id=9a553d21-ab0e-4c21-9fb1-9d7cc020c059 fwd="69.245.11.208" dyno=web.1 connect=3ms service=13ms status=404 bytes=1828
2014-05-01T14:44:48.273634+00:00 app[web.1]: Started GET "/" for 69.245.11.208 at 2014-05-01 14:44:48 +0000
2014-05-01T14:44:48.282633+00:00 app[web.1]:
2014-05-01T14:44:48.282654+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.0/lib/action_dispatch/journey/router.rb:71:in `block in call'
2014-05-01T14:44:48.282670+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.0/lib/action_dispatch/middleware/cookies.rb:560:in `call'
2014-05-01T14:44:48.282688+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.0/lib/active_support/tagged_logging.rb:68:in `tagged'
2014-05-01T14:44:48.282638+00:00 app[web.1]: ActionController::RoutingError (uninitialized constant StaticPagesController):
2014-05-01T14:44:48.282656+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.0/lib/action_dispatch/journey/router.rb:59:in `each'
2014-05-01T14:44:48.282673+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
2014-05-01T14:44:48.282690+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-4.1.0/lib/rails/rack/logger.rb:20:in `call'
2014-05-01T14:44:48.282709+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
2014-05-01T14:44:48.282643+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.0/lib/active_support/inflector/methods.rb:238:in `block in constantize'
2014-05-01T14:44:48.282659+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.0/lib/action_dispatch/routing/route_set.rb:676:in `call'
2014-05-01T14:44:48.282677+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.0/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2014-05-01T14:44:48.282691+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.0/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2014-05-01T14:44:48.282710+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/thin-1.6.2/lib/thin/connection.rb:86:in `block in pre_process'
2014-05-01T14:44:48.282641+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.0/lib/active_support/inflector/methods.rb:238:in `const_get'
2014-05-01T14:44:48.282657+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.0/lib/action_dispatch/journey/router.rb:59:in `call'
2014-05-01T14:44:48.282669+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
2014-05-01T14:44:48.282680+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.0/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
2014-05-01T14:44:48.282693+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
2014-05-01T14:44:48.282712+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/thin-1.6.2/lib/thin/connection.rb:84:in `catch'
2014-05-01T14:44:48.282645+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.0/lib/active_support/inflector/methods.rb:236:in `each'
2014-05-01T14:44:48.282660+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
2014-05-01T14:44:48.282675+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.0/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
2014-05-01T14:44:48.282687+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.0/lib/active_support/tagged_logging.rb:26:in `tagged'
2014-05-01T14:44:48.282704+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
2014-05-01T14:44:48.282718+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in `run_machine'
2014-05-01T14:44:48.282729+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-4.1.0/lib/rails/commands/commands_tasks.rb:81:in `block in server'
2014-05-01T14:44:48.282647+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.0/lib/active_support/inflector/methods.rb:236:in `inject'
2014-05-01T14:44:48.282662+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
2014-05-01T14:44:48.282672+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.0/lib/active_record/query_cache.rb:36:in `call'
2014-05-01T14:44:48.282683+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-4.1.0/lib/rails/rack/logger.rb:38:in `call_app'
2014-05-01T14:44:48.282705+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.0/lib/action_dispatch/middleware/ssl.rb:24:in `call'
2014-05-01T14:44:48.282720+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in `run'
2014-05-01T14:44:48.282733+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-4.1.0/lib/rails/commands/commands_tasks.rb:40:in `run_command!'
2014-05-01T14:44:48.282648+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.0/lib/active_support/inflector/methods.rb:236:in `constantize'
2014-05-01T14:44:48.282664+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.0/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
2014-05-01T14:44:48.282679+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.0/lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
2014-05-01T14:44:48.282694+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
2014-05-01T14:44:48.282715+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/thin-1.6.2/lib/thin/connection.rb:53:in `process'
2014-05-01T14:44:48.282726+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/server.rb:264:in `start'
2014-05-01T14:44:48.282739+00:00 app[web.1]:
2014-05-01T14:44:48.282650+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.0/lib/action_dispatch/routing/route_set.rb:76:in `controller_reference'
2014-05-01T14:44:48.282663+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
2014-05-01T14:44:48.282676+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:82:in `run_callbacks'
2014-05-01T14:44:48.282684+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-4.1.0/lib/rails/rack/logger.rb:20:in `block in call'
2014-05-01T14:44:48.282697+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.0/lib/action_dispatch/middleware/static.rb:64:in `call'
2014-05-01T14:44:48.282717+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/thin-1.6.2/lib/thin/connection.rb:39:in `receive_data'
2014-05-01T14:44:48.282727+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-4.1.0/lib/rails/commands/server.rb:69:in `start'
2014-05-01T14:44:48.282740+00:00 app[web.1]:
2014-05-01T14:44:48.282651+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.0/lib/action_dispatch/routing/route_set.rb:66:in `controller'
2014-05-01T14:44:48.282666+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.0/lib/action_dispatch/middleware/flash.rb:254:in `call'
2014-05-01T14:44:48.282686+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.0/lib/active_support/tagged_logging.rb:68:in `block in tagged'
2014-05-01T14:44:48.282706+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-4.1.0/lib/rails/engine.rb:514:in `call'
2014-05-01T14:44:48.282721+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/thin-1.6.2/lib/thin/backends/base.rb:73:in `start'
2014-05-01T14:44:48.282736+00:00 app[web.1]: bin/rails:8:in `require'
2014-05-01T14:44:48.282653+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.0/lib/action_dispatch/routing/route_set.rb:44:in `call'
2014-05-01T14:44:48.282667+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
2014-05-01T14:44:48.282682+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.0/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2014-05-01T14:44:48.282696+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.0/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
2014-05-01T14:44:48.282714+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/thin-1.6.2/lib/thin/connection.rb:84:in `pre_process'
2014-05-01T14:44:48.282734+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-4.1.0/lib/rails/commands.rb:17:in `<top (required)>'
2014-05-01T14:44:48.282708+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-4.1.0/lib/rails/application.rb:144:in `call'
2014-05-01T14:44:48.282723+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/thin-1.6.2/lib/thin/server.rb:162:in `start'
2014-05-01T14:44:48.282725+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/handler/thin.rb:16:in `run'
2014-05-01T14:44:48.282737+00:00 app[web.1]: bin/rails:8:in `<main>'
2014-05-01T14:44:48.282730+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-4.1.0/lib/rails/commands/commands_tasks.rb:76:in `tap'
2014-05-01T14:44:48.282732+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-4.1.0/lib/rails/commands/commands_tasks.rb:76:in `server'
2014-05-01T14:44:48.606159+00:00 heroku[router]: at=info method=GET path=/favicon.ico host=still-wave-7596.herokuapp.com request_id=4349600e-547a-495f-9f3c-81ce35f74539 fwd="69.245.11.208" dyno=web.1 connect=3ms service=3ms status=304 bytes=132
2014-05-01T14:44:45.060196+00:00 heroku[run.7236]: Process exited with status 0
2014-05-01T14:44:53.122516+00:00 heroku[router]: at=info method=GET path=/ host=still-wave-7596.herokuapp.com request_id=a535fff0-91ec-4420-b5cb-cfc5f558ac8d fwd="69.245.11.208" dyno=web.1 connect=4ms service=9ms status=404 bytes=1828
2014-05-01T14:44:53.116717+00:00 app[web.1]: Started GET "/" for 69.245.11.208 at 2014-05-01 14:44:53 +0000
Edit: Just saw the issue in the logs with the StaticPagesController. I am probably blind but I still cannot see the issue. Here is the file:
static_pages_controller.rb
class StaticPagesController < ApplicationController
def home
end
def help
end
def about
end
def contact
end
end
Edit 2: Longer Heroku logs added:
http://pastebin.com/AxSHivmD
Comment for any additional files required to diagnose the issue. Thanks!
Related
I have been struggling with this error for days now if someone knows where to look I would be highly grateful.
Issue: I am running ActiveAdmin in my application, it works perfectly when I run it locally, but when I run it on Heroku, I can use all the functionality of my app except use one admin interface which is named "tasks".
When I open "tasks" I get an internal error 500.
Other functionality of my ActiveAdmin works perfectly and I am able to save data to my DB.
here is my gem file:
source 'https://rubygems.org'
gem 'rails', '4.2.0'
gem 'sass-rails', '~> 5.0'
gem 'uglifier', '>= 1.3.0'
gem 'coffee-rails', '~> 4.1.0'
gem 'formtastic'
gem 'jquery-rails'
gem 'turbolinks'
gem 'jbuilder', '~> 2.0'
gem 'sdoc', '~> 0.4.0', group: :doc
gem 'materialize-sass'
gem 'devise', '~> 3.4.1'
gem 'toastr-rails'
gem 'mandrill-api', '1.0.52', require: 'mandrill'
gem 'omniauth'
gem 'omniauth-google-oauth2'
gem 'omniauth-facebook'
gem 'omniauth-github'
gem 'tzinfo-data'
gem 'activeadmin', github: 'activeadmin'
gem 'active_skin'
gem 'paperclip', '~> 4.2.1'
gem 'redcarpet', '~> 3.2.3'
gem 'coderay', '~> 1.1.0'
gem 'friendly_id', '~> 5.1.0'
gem 'active_admin-sortable_tree', '~> 0.2.1'
gem 'stripe', :git => 'https://github.com/stripe/stripe-ruby'
gem 'figaro', '~> 1.1.1'
gem 'aws-sdk'
group :development, :test do
gem 'byebug'
gem 'web-console', '~> 2.0'
gem 'spring'
gem 'sqlite3'
end
group :production do
gem 'pg'
gem 'rails_12factor'
end
Here is my logs:
-22T18:57:44.580763+00:00 app[web.1]: Processing by Admin::TasksController#index as HTML
-22T18:57:44.584610+00:00 app[web.1]: AdminUser Load (1.8ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = $1 ORDER BY "admin_users"."id" ASC LIM
["id", 2]]
-22T18:57:44.617306+00:00 app[web.1]: (1.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "tasks" LIMIT 10000 OFFSET 0) subquery_for_count
-22T18:57:44.618237+00:00 app[web.1]: CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "tasks" LIMIT 10000 OFFSET 0) subquery_for_count
-22T18:57:44.620682+00:00 app[web.1]: (1.1ms) SELECT COUNT(*) FROM "tasks"
-22T18:57:44.621592+00:00 app[web.1]: CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "tasks" LIMIT 10000 OFFSET 0) subquery_for_count
-22T18:57:44.624387+00:00 app[web.1]: Task Load (1.4ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" desc LIMIT 10000 OFFSET 0
-22T18:57:44.637054+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-18fd1c23fc60/app/views/active_admin/resource/index.html.arb (49.8ms)
-22T18:57:44.637281+00:00 app[web.1]: Completed 500 Internal Server Error in 56ms
-22T18:57:44.658687+00:00 app[web.1]:
-22T18:57:44.658697+00:00 app[web.1]: ActionView::Template::Error (comparison of Fixnum with String failed):
-22T18:57:44.658699+00:00 app[web.1]: 1: insert_tag renderer_for(:index)
-22T18:57:44.658700+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/relation/delegation.rb:132:in `sort_by'
-22T18:57:44.658701+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/relation/delegation.rb:132:in `public_send'
-22T18:57:44.658701+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/relation/delegation.rb:132:in `method_missing'
-22T18:57:44.658702+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/relation/delegation.rb:99:in `method_missing'
-22T18:57:44.658703+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/active_admin-sortable_tree-0.2.1/lib/active_admin/views/index_as_sortable.rb:13:in `build'
-22T18:57:44.658703+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/element/builder_methods.rb:30:in `block in build_tag'
-22T18:57:44.658704+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/context.rb:92:in `with_current_arbre_element'
-22T18:57:44.658705+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/element/builder_methods.rb:49:in `with_current_arbre_element'
-22T18:57:44.658705+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/element/builder_methods.rb:26:in `build_tag'
-22T18:57:44.658706+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/element/builder_methods.rb:39:in `insert_tag'
-22T18:57:44.658709+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-18fd1c23fc60/lib/active_admin/views/pages/index.rb:139:in `block (2 levels) in rend
x'
-22T18:57:44.658709+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/element/builder_methods.rb:31:in `block in build_tag'
-22T18:57:44.658710+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/context.rb:92:in `with_current_arbre_element'
-22T18:57:44.658711+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/element/builder_methods.rb:49:in `with_current_arbre_element'
-22T18:57:44.658712+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/element/builder_methods.rb:26:in `build_tag'
-22T18:57:44.658712+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/element/builder_methods.rb:39:in `insert_tag'
-22T18:57:44.658713+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/element/builder_methods.rb:14:in `div'
-22T18:57:44.658715+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-18fd1c23fc60/lib/active_admin/views/pages/index.rb:138:in `block in render_index'
-22T18:57:44.658716+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/element/builder_methods.rb:31:in `block in build_tag'
-22T18:57:44.658716+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/context.rb:92:in `with_current_arbre_element'
-22T18:57:44.658717+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/element/builder_methods.rb:49:in `with_current_arbre_element'
-22T18:57:44.658718+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/element/builder_methods.rb:26:in `build_tag'
-22T18:57:44.658718+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/element/builder_methods.rb:39:in `insert_tag'
-22T18:57:44.658719+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/element/builder_methods.rb:14:in `paginated_collection'
-22T18:57:44.658720+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-18fd1c23fc60/lib/active_admin/views/pages/index.rb:132:in `render_index'
-22T18:57:44.658720+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-18fd1c23fc60/lib/active_admin/views/pages/index.rb:50:in `build_collection'
-22T18:57:44.658721+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-18fd1c23fc60/lib/active_admin/views/pages/index.rb:28:in `block in main_content'
-22T18:57:44.658722+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/element/builder_methods.rb:31:in `block in build_tag'
-22T18:57:44.658723+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/context.rb:92:in `with_current_arbre_element'
-22T18:57:44.658723+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/element/builder_methods.rb:49:in `with_current_arbre_element'
-22T18:57:44.658724+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/element/builder_methods.rb:26:in `build_tag'
-22T18:57:44.658725+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/element/builder_methods.rb:39:in `insert_tag'
-22T18:57:44.658726+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/element/builder_methods.rb:14:in `batch_action_form'
-22T18:57:44.658726+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-18fd1c23fc60/lib/active_admin/views/pages/index.rb:36:in `wrap_with_batch_action_fo
-22T18:57:44.658727+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-18fd1c23fc60/lib/active_admin/views/pages/index.rb:26:in `main_content'
-22T18:57:44.658732+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-18fd1c23fc60/lib/active_admin/views/pages/base.rb:91:in `block (2 levels) in build_
ntent_wrapper'
-22T18:57:44.658733+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/element/builder_methods.rb:31:in `block in build_tag'
-22T18:57:44.658734+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/context.rb:92:in `with_current_arbre_element'
-22T18:57:44.658735+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/element/builder_methods.rb:49:in `with_current_arbre_element'
-22T18:57:44.658735+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/element/builder_methods.rb:26:in `build_tag'
-22T18:57:44.658736+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/element/builder_methods.rb:39:in `insert_tag'
-22T18:57:44.658737+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/element/builder_methods.rb:14:in `div'
-22T18:57:44.658737+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-18fd1c23fc60/lib/active_admin/views/pages/base.rb:90:in `block in build_main_conten
er'
-22T18:57:44.658738+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/element/builder_methods.rb:31:in `block in build_tag'
-22T18:57:44.658739+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/context.rb:92:in `with_current_arbre_element'
-22T18:57:44.658740+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/element/builder_methods.rb:49:in `with_current_arbre_element'
-22T18:57:44.658740+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/element/builder_methods.rb:26:in `build_tag'
-22T18:57:44.658741+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/element/builder_methods.rb:39:in `insert_tag'
-22T18:57:44.658742+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/element/builder_methods.rb:14:in `div'
-22T18:57:44.658743+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-18fd1c23fc60/lib/active_admin/views/pages/base.rb:89:in `build_main_content_wrapper
-22T18:57:44.658743+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-18fd1c23fc60/lib/active_admin/views/pages/base.rb:75:in `block in build_page_conten
-22T18:57:44.658744+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/element/builder_methods.rb:31:in `block in build_tag'
-22T18:57:44.658745+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/context.rb:92:in `with_current_arbre_element'
-22T18:57:44.658746+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/element/builder_methods.rb:49:in `with_current_arbre_element'
-22T18:57:44.658746+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/element/builder_methods.rb:26:in `build_tag'
-22T18:57:44.658747+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/element/builder_methods.rb:39:in `insert_tag'
-22T18:57:44.658748+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/element/builder_methods.rb:14:in `div'
-22T18:57:44.658748+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-18fd1c23fc60/lib/active_admin/views/pages/base.rb:74:in `build_page_content'
-22T18:57:44.658749+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-18fd1c23fc60/lib/active_admin/views/pages/base.rb:52:in `block (2 levels) in build_
-22T18:57:44.658750+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/element/builder_methods.rb:31:in `block in build_tag'
-22T18:57:44.658751+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/context.rb:92:in `with_current_arbre_element'
-22T18:57:44.658752+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/element/builder_methods.rb:49:in `with_current_arbre_element'
-22T18:57:44.658752+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/element/builder_methods.rb:26:in `build_tag'
-22T18:57:44.658753+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/element/builder_methods.rb:39:in `insert_tag'
-22T18:57:44.658754+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/element/builder_methods.rb:14:in `div'
-22T18:57:44.658754+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-18fd1c23fc60/lib/active_admin/views/pages/base.rb:48:in `block in build_page'
-22T18:57:44.658755+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/context.rb:92:in `with_current_arbre_element'
-22T18:57:44.658756+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/element/builder_methods.rb:49:in `with_current_arbre_element'
-22T18:57:44.658757+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-18fd1c23fc60/lib/active_admin/views/pages/base.rb:47:in `build_page'
-22T18:57:44.658758+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-18fd1c23fc60/lib/active_admin/views/pages/base.rb:10:in `build'
-22T18:57:44.658758+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/element/builder_methods.rb:30:in `block in build_tag'
-22T18:57:44.658762+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/context.rb:92:in `with_current_arbre_element'
-22T18:57:44.658763+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/element/builder_methods.rb:26:in `build_tag'
-22T18:57:44.658764+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/element/builder_methods.rb:39:in `insert_tag'
-22T18:57:44.658765+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-18fd1c23fc60/app/views/active_admin/resource/index.html.arb:2:in `block in _vendor_
ruby_______bundler_gems_activeadmin___fd_c__fc___app_views_active_admin_resource_index_html_arb___3510243039498056837_70206307693640'
-22T18:57:44.658766+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/context.rb:45:in `instance_eval'
-22T18:57:44.658767+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/arbre-1.0.3/lib/arbre/context.rb:45:in `initialize'
-22T18:57:44.658767+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-18fd1c23fc60/app/views/active_admin/resource/index.html.arb:1:in `new'
-22T18:57:44.658768+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-18fd1c23fc60/app/views/active_admin/resource/index.html.arb:1:in `_vendor_bundle_ru
__bundler_gems_activeadmin___fd_c__fc___app_views_active_admin_resource_index_html_arb___3510243039498056837_70206307693640'
-22T18:57:44.658769+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionview-4.2.0/lib/action_view/template.rb:145:in `block in render'
-22T18:57:44.658786+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/notifications.rb:166:in `instrument'
-22T18:57:44.658787+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionview-4.2.0/lib/action_view/template.rb:333:in `instrument'
-22T18:57:44.658788+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionview-4.2.0/lib/action_view/template.rb:143:in `render'
-22T18:57:44.658788+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionview-4.2.0/lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_templa
-22T18:57:44.658789+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionview-4.2.0/lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
-22T18:57:44.658790+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/notifications.rb:164:in `block in instrument'
-22T18:57:44.658790+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
-22T18:57:44.658791+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-
-22T18:57:44.658838+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/notifications.rb:164:in `block in instrument'
-22T18:57:44.658839+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
-22T18:57:44.658840+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/notifications.rb:164:in `instrument'
-22T18:57:44.658840+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.0/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
-22T18:57:44.658841+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.0/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
-22T18:57:44.658842+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
-22T18:57:44.658842+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.0/lib/abstract_controller/base.rb:137:in `process'
-22T18:57:44.658843+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionview-4.2.0/lib/action_view/rendering.rb:30:in `process'
-22T18:57:44.658844+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.0/lib/action_controller/metal.rb:195:in `dispatch'
-22T18:57:44.658845+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.0/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
-22T18:57:44.658845+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.0/lib/action_controller/metal.rb:236:in `block in action'
-22T18:57:44.658846+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/routing/route_set.rb:73:in `call'
-22T18:57:44.658846+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
-22T18:57:44.658847+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/routing/route_set.rb:42:in `serve'
-22T18:57:44.658847+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/journey/router.rb:43:in `block in serve'
-22T18:57:44.658848+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/journey/router.rb:30:in `each'
-22T18:57:44.658849+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/journey/router.rb:30:in `serve'
-22T18:57:44.658849+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/routing/route_set.rb:802:in `call'
-22T18:57:44.658854+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/omniauth-1.3.1/lib/omniauth/strategy.rb:186:in `call!'
-22T18:57:44.658855+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/omniauth-1.3.1/lib/omniauth/strategy.rb:164:in `call'
-22T18:57:44.658856+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/omniauth-1.3.1/lib/omniauth/strategy.rb:186:in `call!'
-22T18:57:44.658856+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/omniauth-1.3.1/lib/omniauth/strategy.rb:164:in `call'
-22T18:57:44.658857+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/omniauth-1.3.1/lib/omniauth/strategy.rb:186:in `call!'
-22T18:57:44.658857+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/omniauth-1.3.1/lib/omniauth/strategy.rb:164:in `call'
-22T18:57:44.658858+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/warden-1.2.6/lib/warden/manager.rb:35:in `block in call'
-22T18:57:44.658859+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/warden-1.2.6/lib/warden/manager.rb:34:in `catch'
-22T18:57:44.658859+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/warden-1.2.6/lib/warden/manager.rb:34:in `call'
-22T18:57:44.658860+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/etag.rb:24:in `call'
-22T18:57:44.658861+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/conditionalget.rb:25:in `call'
-22T18:57:44.658861+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'
-22T18:57:44.658862+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
-22T18:57:44.658863+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/flash.rb:260:in `call'
-22T18:57:44.658863+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in `context'
-22T18:57:44.658864+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in `call'
-22T18:57:44.658865+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/cookies.rb:560:in `call'
-22T18:57:44.658868+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/query_cache.rb:36:in `call'
-22T18:57:44.658869+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
-22T18:57:44.658870+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
-22T18:57:44.658870+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:88:in `call'
-22T18:57:44.658871+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:88:in `_run_callbacks'
-22T18:57:44.658872+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
-22T18:57:44.658873+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:81:in `run_callbacks'
-22T18:57:44.658873+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
-22T18:57:44.658874+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
-22T18:57:44.658874+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
-22T18:57:44.658875+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
-22T18:57:44.658876+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/rack/logger.rb:38:in `call_app'
-22T18:57:44.658876+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/rack/logger.rb:20:in `block in call'
-22T18:57:44.658877+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb:68:in `block in tagged'
-22T18:57:44.658877+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb:26:in `tagged'
-22T18:57:44.658878+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb:68:in `tagged'
-22T18:57:44.658878+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/rack/logger.rb:20:in `call'
-22T18:57:44.658879+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/request_id.rb:21:in `call'
-22T18:57:44.658880+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in `call'
-22T18:57:44.656956+00:00 heroku[router]: at=info method=GET path="/admin/tasks" host=www.mydomain.com request_id=c0a82d1f-490b-429f-9b09-48b6c75cd5d1 fwd="110.175.239.
no=web.1 connect=1ms service=88ms status=500 bytes=1754
-22T18:57:44.658880+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'
-22T18:57:44.658881+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
-22T18:57:44.658881+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/static.rb:113:in `call'
-22T18:57:44.658882+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'
-22T18:57:44.658883+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/engine.rb:518:in `call'
-22T18:57:44.658884+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/application.rb:164:in `call'
-22T18:57:44.658884+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'
-22T18:57:44.658885+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/content_length.rb:15:in `call'
-22T18:57:44.658886+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/handler/webrick.rb:88:in `service'
-22T18:57:44.658886+00:00 app[web.1]: vendor/ruby-2.2.4/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
-22T18:57:44.658887+00:00 app[web.1]: vendor/ruby-2.2.4/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
-22T18:57:44.658888+00:00 app[web.1]: vendor/ruby-2.2.4/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
-22T18:57:44.658888+00:00 app[web.1]:
-22T18:57:44.658889+00:00 app[web.1]:
app/admin/task.rb
ActiveAdmin.register Task do
permit_params :title, :note, :video, :header, :tag, :project_id
sortable tree: false,
sorting_attribute: :tag
index :as => :sortable do
label :title
actions
end
index do
selectable_column
column :header
column :title
column :tag
column :project
actions
end
form do |f|
f.inputs do
input :project, label: "Project"
input :title, label: "Title"
input :note, label: "Note"
input :video, label: "video"
input :header, label: "Header"
end
actions
end
end
If ANYONE knows knows what should I do I will be eternally grateful! If I should show other files to solve this problem please tell me and I will add them here.
I was able to sort this problem by changing the sorting_attribute: :tag to sorting_attribute: :project_id
I know this might not be the best way to do this, but it solved my problem. Thank you tremendously you who commented and gave me wise help, I owe you big time!
I'm following Michael Hartl's guide on learning Ruby on Rails and I just finished Chapter 5.
I get the localhost to load just fine and pages work and look as expected but when I try the final line to get heroku going "heroku open" I get the following screen (http://take.ms/4KuwQ).
I've tried checking other stackoverflow questions but still couldn't find the answer. The guide says to look at Heroku logs to debug but I can not find the solution.
Below is my entire Heroku log. I have also attached a screen grab (http://take.ms/MaJhz) of what I believe would be the issue but can not find the solution.
Entire GEM file:
source 'https://rubygems.org'
ruby '2.0.0'
#ruby-gemset=railstutorial_rails_4_0
gem 'rails', '4.0.4'
gem 'bootstrap-sass', '2.3.2.0'
gem 'sprockets', '2.11.0'
group :development, :test do
gem 'sqlite3', '1.3.8'
gem 'rspec-rails', '2.13.1'
end
group :test do
gem 'selenium-webdriver', '2.35.1'
gem 'capybara', '2.1.0'
end
gem 'sass-rails', '4.0.1'
gem 'uglifier', '2.1.1'
gem 'coffee-rails', '4.0.1'
gem 'jquery-rails', '3.0.4'
gem 'turbolinks', '1.1.1'
gem 'jbuilder', '1.0.2'
group :doc do
gem 'sdoc', '0.3.20', require: false
end
group :production do
gem 'pg', '0.15.1'
gem 'rails_12factor', '0.0.2'
end
Entire Heroku log:
2014-04-16T23:13:14.780234+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2014-04-16T23:13:14.780234+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2014-04-16T23:13:14.780234+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
2014-04-16T23:13:14.780234+00:00 app[web.1]:
2014-04-16T23:13:14.780234+00:00 app[web.1]:
2014-04-16T23:13:14.780234+00:00 app[web.1]:
2014-04-16T23:13:14.780234+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/"):
2014-04-16T23:13:14.780234+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
2014-04-16T23:13:14.781190+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/rack/logger.rb:38:in `call_app'
2014-04-16T23:13:14.781190+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/rack/logger.rb:20:in `block in call'
2014-04-16T23:13:14.781190+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'
2014-04-16T23:13:14.781190+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/tagged_logging.rb:68:in `tagged'
2014-04-16T23:13:14.781190+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/rack/logger.rb:20:in `call'
2014-04-16T23:13:14.781190+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2014-04-16T23:13:14.781190+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
2014-04-16T23:13:14.781574+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
2014-04-16T23:13:14.780234+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2014-04-16T23:13:14.781190+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/tagged_logging.rb:26:in `tagged'
2014-04-16T23:13:14.781190+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
2014-04-16T23:13:14.781574+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
2014-04-16T23:13:14.781574+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2014-04-16T23:13:14.781574+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
2014-04-16T23:13:14.781574+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2014-04-16T23:13:14.781190+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2014-04-16T23:13:14.781574+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/static.rb:64:in `call'
2014-04-16T23:13:14
.781574+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
2014-04-16T23:13:14.781574+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/engine.rb:511:in `call'
2014-04-16T23:13:14.781574+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/application.rb:97:in `call'
2014-04-16T23:13:14.781574+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
2014-04-16T23:13:14.782201+00:00 app[web.1]:
2014-04-16T23:13:14.782201+00:00 app[web.1]:
2014-04-16T23:13:14.783441+00:00 heroku[router]: at=info method=GET path=/ host=damp-inlet-1921.herokuapp.com request_id=f19f1fc7-892c-4b1f-adaa-324bc982b675 fwd="12.172.95.252" dyno=web.1 connect=1ms service=350ms status=404 bytes=1616
2014-04-16T23:13:15.127296+00:00 heroku[router]: at=info method=GET path=/favicon.ico host=damp-inlet-1921.herokuapp.com request_id=6b5c668d-189b-42d6-90b9-1bffb1d7f085 fwd="12.172.95.252" dyno=web.1 connect=1ms service=4ms status=304 bytes=133
2014-04-16T23:13:13.951347+00:00 heroku[web.1]: State changed from starting to up
2014-04-16T23:14:24.040669+00:00 heroku[api]: Starting process with command `bundle exec rake db:setup` by edgarmatevosyan#gmail.com
2014-04-16T23:14:27.184585+00:00 heroku[run.2955]: Awaiting client
2014-04-16T23:14:27.219046+00:00 heroku[run.2955]: Starting process with command `bundle exec rake db:setup`
2014-
04-16T23:14:27.274133+00:00 heroku[run.2955]: State changed from starting to up
2014-04-16T23:14:30.722822+00:00 heroku[run.2955]: State changed from up to complete
2014-04-16T23:14:30.708839+00:00 heroku[run.2955]: Process exited with status 1
2014-04-16T23:14:37.126865+00:00 heroku[api]: Starting process with command `bundle exec rake db:migrate` by edgarmatevosyan#gmail.com
2014-04-16T23:14:41.972185+00:00 heroku[run.8896]: Awaiting client
2014-04-16T23:14:41.719744+00:00 heroku[run.8896]: State changed from starting to up
2014-04-16T23:14:42.035485+00:00 heroku[run.8896]: Starting process with command `bundle exec rake db:migrate`
2014-04-16T23:14:48.674142+00:00 heroku[run.8896]: Process exited with status 0
2014-04-16T23:14:48.685250+00:00 heroku[run.8896]: State changed from up to complete
2014-04-16T23:23:59.044087+00:00 app[web.1]: Started GET "/" for 12.172.95.252 at 2014-04-16 23:23:59 +0000
2014-04-16T23:23:59.062462+00:00 app[web.1]: Started GET "/" for 12.172.95.252 at 2014-04-16 23:23:59 +0000
2014-04-16T23:23:59.289420+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/"):
2014-04-16T23:23:59.289420+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
2014-04-16T23:23:59.289420+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
201
4-04-16T23:23:59.289420+00:00 app[web.1]:
2014-04-16T23:23:59.289420+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/rack/logger.rb:38:in `call_app'
2014-04-16T23:23:59.289420+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/rack/logger.rb:20:in `block in call'
2014-04-16T23:23:59.289420+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'
2014-04-16T23:23:59.289420+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/tagged_logging.rb:26:in `tagged'
2014-04-16T23:23:59.289420+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/tagged_logging.rb:68:in `tagged'
2014-04-16T23:23:59.289420+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/rack/logger.rb:20:in `call'
2014-04-16T23:23:59.289665+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/engine.rb:511:in `call'
2014-04-16T23:23:59.289665+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/application.rb:97:in `call'
2014-04-16T23:23:59.289665+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
2014-04-16T23:23:59.289665+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
2014-04-16T23:23:59.289665+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2014-04-16T23:23:59.289665+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
2014-04-16T23:23:59.289665+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
2014-04-16T23:23:59.289665+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2014-04-16T23:23:59.289665+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/static.rb:64:in `call'
2014-04-16T23:23:59.289665+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
2014-04-16T23:23:59.289857+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
2014-04-16T23:23:59.289857+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2014-04-16T23:23:59.289857+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2014-04-16T23:23:59.289857+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
2014-04-16T23:23:59.289857+00:00 app[web.1]:
2014-04-16T23:23:59.289857+00:00 app[web.1]:
2014-04-16T23:23:59.293033+00:00 app[web.1]:
2014-04-16T23:23:59.293033+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/"):
2014-04-16T23:23:59.293033+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
2014-04-16T23:23:59.293033+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2014-04-16T23:23:59.293033+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/rack/logger.rb:38:in `call_app'
2014-04-16T23:23:59.293033+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/rack/logger.rb:20:in `block in call'
2014-04-16T23:23:59.293033+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'
2014-04-16T23:23:59.293033+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/tagged_logging.rb:26:in `tagged'
2014-04-16T23:23:59.293033+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/tagged_logging.rb:68:in `tagged'
2014-04-16T23:23:59.293250+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2014-04-16T23:23:59.293033+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/rack/logger.rb:20:in `call'
2014-04-16T23:23:59.293250+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
2014-04-16T23:23:59.293250+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
2014-04-16T23:23:59.293250+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.4/lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2014-04-16T23:23:59.293250+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/static.rb:64:in `call'
2014-04-16T23:23:59.293250+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
2014-04-16T23:23:59.293250+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/engine.rb:511:in `call'
2014-04-16T23:23:59.293250+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.4/lib/rails/application.rb:97:in `call'
2014-04-16T23:23:59.293250+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
2014-04-16T23:23:59.293250+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
2014-04-16T23:23:59.293486+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
2014-04-16T23:23:59.293486+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2014-04-16T23:23:59.293486+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2014-04-16T23:23:59.293486+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
2014-04-16T23:23:59.293486+00:00 app[web.1]:
2014-04-16T23:23:59.293486+00:00 app[web.1]:
2014-04-16T23:23:59.317925+00:00 heroku[router]: at=info method=GET path=/ host=damp-inlet-1921.herokuapp.com request_id=b7a6b34b-bab5-4603-b19e-5e00f6239f27 fwd="12.172.95.252" dyno=web.1 connect=4ms service=4147ms status=404 bytes=1616
Here is the routes.rb file:
SampleApp::Application.routes.draw do
get "users/new"
root 'static_pages#home'
match '/signup', to: 'users#new', via: 'get'
match '/help', to: 'static_pages#help', via: 'get'
match '/about', to: 'static_pages#about', via: 'get'
match '/contact', to: 'static_pages#contact', via: 'get'
end
The screengrab log says no route matches a GET request on '/'. Are you sure you've set a root route? It would look like this: (the routes file is found in 'config/routes.rb')
root to: 'controller#method'
Where controller is the controller you wish to use 'users' or 'posts' etc..
and the method would most likely be an index method.
Take a quick look at routes.rb, and if you do have a line like I've mentioned above, just post up your routes.rb file for us to take a look.
I have an error on heroku
"We're sorry, but something went wrong."
heroku logs
2014-03-26T11:43:11.954664+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-4.0.4/lib/rails/rack/logger.rb:38:in `call_app'
2014-03-26T11:43:11.955547+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/abstract_controller/rendering.rb:120:in `render_to_body'
2014-03-26T11:43:11.955547+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/action_controller/metal/rendering.rb:33:in `render_to_body'
2014-03-26T11:43:11.954860+00:00 app[web.1]: vendor/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
2014-03-26T11:43:11.954860+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
2014-03-26T11:43:11.954664+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
2014-03-26T11:43:11.955547+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/action_controller/metal/streaming.rb:219:in `_render_template'
2014-03-26T11:43:11.955259+00:00 app[web.1]:
2014-03-26T11:43:11.955547+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/action_controller/metal/renderers.rb:26:in `render_to_body'
2014-03-26T11:43:11.954664+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.4/lib/active_support/tagged_logging.rb:68:in `tagged'
2014-03-26T11:43:11.954860+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
2014-03-26T11:43:11.955547+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/abstract_controller/rendering.rb:97:in `render'
2014-03-26T11:43:11.955547+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/action_controller/metal/rendering.rb:16:in `render'
2014-03-26T11:43:11.955547+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
2014-03-26T11:43:11.954860+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
2014-03-26T11:43:11.954860+00:00 app[web.1]: vendor/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
2014-03-26T11:43:11.955259+00:00 app[web.1]:
2014-03-26T11:43:11.956270+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/action_controller/metal/rendering.rb:10:in `process_action'
2014-03-26T11:43:11.955924+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
2014-03-26T11:43:11.955924+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.4/lib/active_support/core_ext/benchmark.rb:12:in `ms'
2014-03-26T11:43:11.955924+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/action_controller/metal/instrumentation.rb:41:in `block in render'
2014-03-26T11:43:11.955259+00:00 app[web.1]: ):
2014-03-26T11:43:11.954860+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-4.0.4/lib/rails/engine.rb:511:in `call'
2014-03-26T11:43:11.954664+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2014-03-26T11:43:11.954860+00:00 app[web.1]: vendor/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
2014-03-26T11:43:11.955259+00:00 app[web.1]: ActionView::MissingTemplate (Missing template static_pages/home, application/home with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :raw, :ruby, :jbuilder, :coffee, :haml]}. Searched in:
2014-03-26T11:43:11.955924+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.4/lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
2014-03-26T11:43:11.956773+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
2014-03-26T11:43:11.956270+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
2014-03-26T11:43:11.956270+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.4/lib/active_support/callbacks.rb:403:in `_run__174253647150912787__process_action__callbacks'
2014-03-26T11:43:11.955924+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/action_controller/metal/instrumentation.rb:40:in `render'
2014-03-26T11:43:11.955924+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/abstract_controller/base.rb:189:in `process_action'
2014-03-26T11:43:11.956270+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
2014-03-26T11:43:11.954664+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.4/lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2014-03-26T11:43:11.955259+00:00 app[web.1]:
2014-03-26T11:43:11.956270+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.4/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2014-03-26T11:43:11.956773+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/action_controller/metal.rb:195:in `dispatch'
2014-03-26T11:43:11.956945+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/action_dispatch/routing/route_set.rb:48:in `call'
2014-03-26T11:43:11.956270+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.4/lib/active_support/notifications.rb:159:in `instrument'
2014-03-26T11:43:11.956270+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/abstract_controller/callbacks.rb:17:in `process_action'
2014-03-26T11:43:11.956773+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/abstract_controller/rendering.rb:44:in `process'
2014-03-26T11:43:11.955924+00:00 app[web.1]: vendor/ruby-2.1.1/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
2014-03-26T11:43:11.955547+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/action_view/renderer/renderer.rb:42:in `render_template'
2014-03-26T11:43:11.956945+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
2014-03-26T11:43:11.956773+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/action_controller/metal.rb:231:in `block in action'
2014-03-26T11:43:11.956945+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/action_dispatch/journey/router.rb:71:in `block in call'
2014-03-26T11:43:11.956270+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.4/lib/active_support/notifications.rb:159:in `block in instrument'
2014-03-26T11:43:11.956945+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/action_dispatch/journey/router.rb:59:in `call'
2014-03-26T11:43:11.956270+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.4/lib/active_support/callbacks.rb:80:in `run_callbacks'
2014-03-26T11:43:11.956773+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
2014-03-26T11:43:11.954860+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/static.rb:64:in `call'
2014-03-26T11:43:11.955924+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activerecord-4.0.4/lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
2014-03-26T11:43:11.957387+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/cookies.rb:486:in `call'
2014-03-26T11:43:11.957387+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
2014-03-26T11:43:11.957387+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
2014-03-26T11:43:11.956945+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
2014-03-26T11:43:11.957387+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
2014-03-26T11:43:11.956773+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/action_dispatch/routing/route_set.rb:80:in `call'
2014-03-26T11:43:11.956945+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/action_dispatch/journey/router.rb:59:in `each'
2014-03-26T11:43:11.956773+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activerecord-4.0.4/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2014-03-26T11:43:11.957387+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
2014-03-26T11:43:11.957615+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'
2014-03-26T11:43:11.957615+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
2014-03-26T11:43:11.956945+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
2014-03-26T11:43:11.957615+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.4/lib/active_support/tagged_logging.rb:26:in `tagged'
2014-03-26T11:43:11.956945+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/action_dispatch/routing/route_set.rb:674:in `call'
2014-03-26T11:43:11.955924+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/action_controller/metal/implicit_render.rb:5:in `send_action'
2014-03-26T11:43:11.955924+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
2014-03-26T11:43:11.958055+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/static.rb:64:in `call'
2014-03-26T11:43:11.958055+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
2014-03-26T11:43:11.958055+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-4.0.4/lib/rails/engine.rb:511:in `call'
2014-03-26T11:43:11.958055+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-4.0.4/lib/rails/application.rb:97:in `call'
2014-03-26T11:43:11.957387+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activerecord-4.0.4/lib/active_record/query_cache.rb:36:in `call'
2014-03-26T11:43:11.957387+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activerecord-4.0.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
2014-03-26T11:43:11.956945+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/flash.rb:241:in `call'
2014-03-26T11:43:11.956945+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
2014-03-26T11:43:11.958307+00:00 app[web.1]:
2014-03-26T11:43:11.957615+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.4/lib/active_support/tagged_logging.rb:68:in `tagged'
2014-03-26T11:43:11.957615+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-4.0.4/lib/rails/rack/logger.rb:20:in `call'
2014-03-26T11:43:11.957387+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2014-03-26T11:43:11.957615+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-4.0.4/lib/rails/rack/logger.rb:20:in `block in call'
2014-03-26T11:43:11.956270+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/action_controller/metal/rescue.rb:29:in `process_action'
2014-03-26T11:43:11.956773+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
2014-03-26T11:43:11.958055+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
2014-03-26T11:43:11.958055+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
2014-03-26T11:43:11.958307+00:00 app[web.1]:
2014-03-26T11:43:11.956773+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/abstract_controller/base.rb:136:in `process'
2014-03-26T11:43:11.956773+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
2014-03-26T11:43:11.958055+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.4/lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2014-03-26T11:43:11.958055+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
2014-03-26T11:43:11.958055+00:00 app[web.1]: vendor/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
2014-03-26T11:43:11.958055+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
2014-03-26T11:43:11.957387+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.4/lib/active_support/callbacks.rb:373:in `_run__2996628356594363701__call__callbacks'
2014-03-26T11:43:11.957387+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.4/lib/active_support/callbacks.rb:80:in `run_callbacks'
2014-03-26T11:43:11.957615+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2014-03-26T11:43:11.957615+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/railties-4.0.4/lib/rails/rack/logger.rb:38:in `call_app'
2014-03-26T11:43:11.957615+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2014-03-26T11:43:11.957615+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
2014-03-26T11:43:11.958307+00:00 app[web.1]: vendor/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
2014-03-26T11:43:11.958307+00:00 app[web.1]: vendor/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
2014-03-26T11:43:11.959400+00:00 heroku[router]: at=info method=GET path=/ host=dpm-app.herokuapp.com request_id=8cfcd0b0-fd95-4698-b773-92420b3791fb fwd="159.224.13.90" dyno=web.1 connect=3ms service=25ms status=500 bytes=1543
my gemfile
ruby '2.1.1'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.0.4'
gem 'bootstrap-sass', '~> 3.1.1.0'
# Use postgresql as the database for Active Record
gem 'pg', '0.15.1'
group :development, :test do
gem 'rspec-rails', '2.13.1'
end
group :test do
gem 'selenium-webdriver', '2.35.1'
gem 'capybara', '2.1.0'
end
# Use SCSS for stylesheets
gem 'sass-rails', '4.0.2'
gem 'haml', '~> 4.0.5'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '2.1.1'
# Use CoffeeScript for .js.coffee assets and views
gem 'coffee-rails', '4.0.1'
# gem 'therubyracer', platforms: :ruby
# Use jquery as the JavaScript library
gem 'jquery-rails', '3.0.4'
# Turbolinks makes following links in your web application faster.
gem 'turbolinks', '1.1.1'
# Build JSON APIs with ease.
gem 'jbuilder', '1.2'
group :doc do
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', '0.3.20',require: false
end
group :production do
gem 'rails_12factor', '0.0.2'
end
# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'
# Use unicorn as the app server
# gem 'unicorn'
# Use Capistrano for deployment
# gem 'capistrano', group: :development
# Use debugger
# gem 'debugger', group: [:development, :test]
on local server all works.
if you need some more logs, just ask
thanks for your help.
ActionView::MissingTemplate (Missing template static_pages/home, application/home with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :raw, :ruby, :jbuilder, :coffee, :haml]}
You need to have a .html.erb page at views/static_pages/home.html.erb
If your local server works, it could be an issue with precompilation. You should run rake assets:precompile RAILS_ENV=production before pushing to Heroku, to see if you're referencing something incorrectly
I'm trying to deploy a sample rails app on heroku. After creating a very basic app, adding a git repository, committing everything and "heroku create", I push it up to heroku. No errors at all in terminal, but when I open the browser with the correct address, I get the following:
The page you were looking for doesn't exist.
You may have mistyped the address or the page may have moved.
I've searched for three hours and used the heroku tutorial on how to deploy the app but I just can't figure out what I'm doing wrong.
Here is my Gemfile:
source 'https://rubygems.org'
ruby '2.0.0'
gem 'rails', '4.0.0.beta1'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
gem 'json'
group :production do
gem 'pg'
gem 'rails', '4.0.0.beta1'
gem 'railties', '4.0.0.beta1'
end
# Gems used only for assets and not required
# in production environments by default.
group :assets do
#gem 'sass-rails', '~> 3.2.3'
gem 'sass-rails', '~> 4.0.0.beta1'
#gem 'coffee-rails', '~> 3.2.1'
gem 'coffee-rails', '~> 4.0.0.beta1'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
# gem 'therubyracer', :platforms => :ruby
gem 'uglifier', '>= 1.0.3'
end
gem 'jquery-rails'
I've repeated the steps above several times, didn't work. Thanks!
Edit: added heroku console logs:
2013-04-13T14:15:14.800540+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0.beta1/lib/rails/commands/server.rb:80:in `start'
2013-04-13T14:15:14.801066+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0.beta1/lib/rails/commands.rb:73:in `<top (required)>'
2013-04-13T14:15:14.801066+00:00 app[web.1]: script/rails:6:in `<main>'
2013-04-13T14:15:14.801375+00:00 app[web.1]: [2013-04-13 14:15:14] INFO going to shutdown ...
2013-04-13T14:15:14.801542+00:00 app[web.1]: [2013-04-13 14:15:14] INFO WEBrick::HTTPServer#start done.
2013-04-13T14:15:14.801066+00:00 app[web.1]: script/rails:6:in `require'
2013-04-13T14:15:14.800540+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0.beta1/lib/rails/commands.rb:73:in `tap'
2013-04-13T14:15:14.822878+00:00 app[web.1]: => Booting WEBrick
2013-04-13T14:15:14.822878+00:00 app[web.1]: => Rails 4.0.0.beta1 application starting in production on http://0.0.0.0:44478
2013-04-13T14:15:14.822878+00:00 app[web.1]: => Call with -d to detach
2013-04-13T14:15:14.822878+00:00 app[web.1]: => Ctrl-C to shutdown server
2013-04-13T14:15:14.822878+00:00 app[web.1]:
2013-04-13T14:15:14.822878+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/"):
2013-04-13T14:15:14.823204+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0.beta1/lib/rails/rack/logger.rb:21:in `block in call'
2013-04-13T14:15:14.822878+00:00 app[web.1]: Started GET "/" for 178.25.122.239 at 2013-04-13 14:02:08 +0000
2013-04-13T14:15:14.822878+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0.beta1/lib/rails/rack/logger.rb:38:in `call_app'
2013-04-13T14:15:14.823204+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0.beta1/lib/rails/rack/logger.rb:21:in `call'
2013-04-13T14:15:14.823204+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0.beta1/lib/active_support/tagged_logging.rb:67:in `tagged'
2013-04-13T14:15:14.822878+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
2013-04-13T14:15:14.823204+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0.beta1/lib/active_support/tagged_logging.rb:25:in `tagged'
2013-04-13T14:15:14.823204+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
2013-04-13T14:15:14.823433+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
2013-04-13T14:15:14.823204+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
2013-04-13T14:15:14.823204+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0.beta1/lib/rails/engine.rb:510:in `call'
2013-04-13T14:15:14.823433+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0.beta1/lib/rails/application.rb:96:in `call'
2013-04-13T14:15:14.823433+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-04-13T14:15:14.823433+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2013-04-13T14:15:14.822878+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2013-04-13T14:15:14.823433+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
2013-04-13T14:15:14.823204+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2013-04-13T14:15:14.823204+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0.beta1/lib/active_support/tagged_logging.rb:67:in `block in tagged'
2013-04-13T14:15:14.823433+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2013-04-13T14:15:14.823204+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0.beta1/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
2013-04-13T14:15:14.823433+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-04-13T14:15:14.823433+00:00 app[web.1]:
2013-04-13T14:15:14.823433+00:00 app[web.1]: Started GET "/" for 178.25.122.239 at 2013-04-13 14:04:08 +0000
2013-04-13T14:15:14.823433+00:00 app[web.1]:
2013-04-13T14:15:14.823657+00:00 app[web.1]:
2013-04-13T14:15:14.823657+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/"):
2013-04-13T14:15:14.823657+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
2013-04-13T14:15:14.823657+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2013-04-13T14:15:14.823657+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0.beta1/lib/rails/rack/logger.rb:38:in `call_app'
2013-04-13T14:15:14.823657+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0.beta1/lib/rails/rack/logger.rb:21:in `block in call'
2013-04-13T14:15:14.823657+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0.beta1/lib/active_support/tagged_logging.rb:67:in `block in tagged'
2013-04-13T14:15:14.823657+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0.beta1/lib/active_support/tagged_logging.rb:25:in `tagged'
2013-04-13T14:15:14.823657+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0.beta1/lib/active_support/tagged_logging.rb:67:in `tagged'
2013-04-13T14:15:14.823657+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0.beta1/lib/rails/rack/logger.rb:21:in `call'
2013-04-13T14:15:14.823871+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
2013-04-13T14:15:14.823871+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2013-04-13T14:15:14.823871+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0.beta1/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
2013-04-13T14:15:14.823871+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0.beta1/lib/rails/engine.rb:510:in `call'
2013-04-13T14:15:14.823871+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
2013-04-13T14:15:14.823871+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0.beta1/lib/rails/application.rb:96:in `call'
2013-04-13T14:15:14.823871+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
2013-04-13T14:15:14.823871+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
2013-04-13T14:15:14.823871+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-04-13T14:15:14.823871+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2013-04-13T14:15:14.824082+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-04-13T14:15:14.824082+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2013-04-13T14:15:14.824082+00:00 app[web.1]:
2013-04-13T14:15:14.824082+00:00 app[web.1]:
2013-04-13T14:15:14.824082+00:00 app[web.1]: Started GET "/favicon.ico" for 178.25.122.239 at 2013-04-13 14:04:09 +0000
2013-04-13T14:15:14.824082+00:00 app[web.1]:
2013-04-13T14:15:14.824082+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/favicon.ico"):
2013-04-13T14:15:14.824082+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
2013-04-13T14:15:14.824082+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2013-04-13T14:15:14.824082+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0.beta1/lib/rails/rack/logger.rb:38:in `call_app'
2013-04-13T14:15:14.824292+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0.beta1/lib/rails/rack/logger.rb:21:in `block in call'
2013-04-13T14:15:14.824292+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0.beta1/lib/active_support/tagged_logging.rb:67:in `block in tagged'
2013-04-13T14:15:14.824292+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0.beta1/lib/active_support/tagged_logging.rb:67:in `tagged'
2013-04-13T14:15:14.824292+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0.beta1/lib/rails/rack/logger.rb:21:in `call'
2013-04-13T14:15:14.824292+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0.beta1/lib/active_support/tagged_logging.rb:25:in `tagged'
2013-04-13T14:15:14.824292+00:00 app[web.1]: vendor/bu
ndle/ruby/2.0.0/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2013-04-13T14:15:14.824292+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
2013-04-13T14:15:14.824292+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
2013-04-13T14:15:14.824503+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-04-13T14:15:14.824292+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0.beta1/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
2013-04-13T14:15:14.824292+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0.beta1/lib/rails/engine.rb:510:in `call'
2013-04-13T14:15:14.824503+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2013-04-13T14:15:14.824503+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2013-04-13T14:15:14.824503+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
2013-04-13T14:15:14.824503+00:00 app[web.1]:
2013-04-13T14:15:14.824503+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
2013-04-13T14:15:14.824503+00:00 app[web.1]: Exiting
2013-04-13T14:15:14.824503+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0.beta1/lib/rails/application.rb:96:in `call'
2013-04-13T14:15:14.824503+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-04-13T14:15:14.824503+00:00 app[web.1]:
2013-04-13T14:15:14.516222+00:00 heroku[web.1]: State changed from starting to up
2013-04-13T14:15:16.056837+00:00 heroku[web.1]: Process exited with status 143
2013-04-13T14:16:05.609544+00:00 app[web.1]:
2013-04-13T14:16:05.609544+00:00 app[web.1]: To disable this message remove the `whitelist_attributes` option from your
2013-04-13T14:16:05.609544+00:00 app[web.1]: DEPRECATION WARNING: Model based mass assignment security has been extracted
2013-04-13T14:16:05.609544+00:00 app[web.1]: out of Rails into a gem. Please use the new recommended protection model for
2013-04-13T14:16:05.609544+00:00 app[web.1]: params or add `protected_attributes` to your Gemfile to use the old one.
2013-04-13T14:16:05.609544+00:00 app[web.1]: `config/application.rb` file and any `mass_assignment_sanitizer` options
2013-04-13T14:16:05.609544+00:00 app[web.1]: See http://guides.rubyonrails.org/security.html#mass-assignment for more information.
2013-04-13T14:16:05.609544+00:00 app[web.1]:
2013-04-13T14:16:05.609544+00:00 app[web.1]:
2013-04-13T14:16:05.609544+00:00 app[web.1]: from your `config/environments/*.rb` files.
2013-04-13T14:16:05.730223+00:00 heroku[router]: at=info method=GET path=/ host=mighty-depths-7233.herokuapp.com fwd="178.25.122.239" dyno=web.1 connect=1ms service=209ms status=404 bytes=728
2013-04-13T14:16:05.980431+00:00 heroku[router]: at=info method=GET path=/favicon.ico host=mighty-depths-7233.herokuapp.com fwd="178.25.122.239" dyno=web.1 connect=0ms service=6ms status=404 bytes=728
First of all there's a good guide on routing in Rails here.
Lets say you have an Article model in your app and an articles controller, you have to define the routes for this resource under config/routes.rb. Rails allows you to add routes for index, show new, create, edit, update and destroy in one line:
resources :articles
This will map to the following:
GET /articles index display a list of all articles
GET /articles/new new return an HTML form for creating a new article
POST /articles create create a new article
GET /articles/:id show display a specific article
GET /articles/:id/edit edit return an HTML form for editing a article
PUT /articles/:id update update a specific article
DELETE /articles/:id destroy delete a specific article
However to make sure that the homepage routes to one of these actions you need to define root under config/routes.rb
root to: "articles#index"
Then commit and push it to heroku again.
I notice that you're trying (probably unintentionally) to use an 'edge' version of rails (4+).
I would stick with a 3.x version for now and that's what the tutorial is probably assuming.
You can use this to create an app with a specific version (3.2 in this case)
rails _3.2_ new myapp
If you don't have that version of rails on your system you may need to install it, e.g.
gem install -v=3.2 rails
or, if that fails,
sudo gem install rails -v3.2
The above is why, when you follow the current Heroku instructions it assumes rails 3 and that version does do that default root path and the public/index.html file
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.