heroku.com page can't be found - app is rails api - ruby-on-rails

I have a rails api with react client. my rails api works fine locally.
When i pushed it to heroku it deployed but when went to view it said my page couldn't be found.
i added a root route which is what it was asking for(?) but to no avail... any help would be appreciated!
i also tested heroku by deploying test rails apps.
If they were made with --api, the page once again couldn't be found.
I made one without --api, it worked initially but when tried to migrate db it resulted in debug #4 errors...
Prefix Verb URI Pattern Controller#Action
api_v1_users GET /api/v1/users(.:format) api/v1/users#index
POST /api/v1/users(.:format) api/v1/users#create
api_v1_user GET /api/v1/users/:id(.:format) api/v1/users#show
PATCH /api/v1/users/:id(.:format) api/v1/users#update
PUT /api/v1/users/:id(.:format) api/v1/users#update
DELETE /api/v1/users/:id(.:format) api/v1/users#destroy
api_v1_pets GET /api/v1/pets(.:format) api/v1/pets#index
POST /api/v1/pets(.:format) api/v1/pets#create
api_v1_pet GET /api/v1/pets/:id(.:format) api/v1/pets#show
PATCH /api/v1/pets/:id(.:format) api/v1/pets#update
PUT /api/v1/pets/:id(.:format) api/v1/pets#update
DELETE /api/v1/pets/:id(.:format) api/v1/pets#destroy
api_v1 PATCH /api/v1/pets/:id/toggle_adopt(.:format) api/v1/pets#toggle_adopt
POST /api/v1/pets/:id/adopt(.:format) api/v1/pets#adopt
POST /api/v1/users/:id/get_pet(.:format) api/v1/users#get_pet
GET /api/v1(.:format) api/v1/pets#index
api_v1_login POST /api/v1/login(.:format) api/v1/auth#login
api_v1_auto_login GET /api/v1/auto_login(.:format) api/v1/auth#auto_login
rails_mandrill_inbound_emails POST /rails/action_mailbox/mandrill/inbound_emails(.:format) action_mailbox/ingresses/mandrill/inbound_emails#create
rails_postmark_inbound_emails POST /rails/action_mailbox/postmark/inbound_emails(.:format) action_mailbox/ingresses/postmark/inbound_emails#create
rails_relay_inbound_emails POST /rails/action_mailbox/relay/inbound_emails(.:format) action_mailbox/ingresses/relay/inbound_emails#create
rails_sendgrid_inbound_emails POST /rails/action_mailbox/sendgrid/inbound_emails(.:format) action_mailbox/ingresses/sendgrid/inbound_emails#create
rails_mailgun_inbound_emails POST /rails/action_mailbox/mailgun/inbound_emails/mime(.:format) action_mailbox/ingresses/mailgun/inbound_emails#create
rails_conductor_inbound_emails GET /rails/conductor/action_mailbox/inbound_emails(.:format) rails/conductor/action_mailbox/inbound_emails#index
POST /rails/conductor/action_mailbox/inbound_emails(.:format) rails/conductor/action_mailbox/inbound_emails#create
rails_conductor_inbound_email GET /rails/conductor/action_mailbox/inbound_emails/:id(.:format) rails/conductor/action_mailbox/inbound_emails#show
PATCH /rails/conductor/action_mailbox/inbound_emails/:id(.:format) rails/conductor/action_mailbox/inbound_emails#update
PUT /rails/conductor/action_mailbox/inbound_emails/:id(.:format) rails/conductor/action_mailbox/inbound_emails#update
DELETE /rails/conductor/action_mailbox/inbound_emails/:id(.:format) rails/conductor/action_mailbox/inbound_emails#destroy
rails_conductor_inbound_email_reroute POST /rails/conductor/action_mailbox/:inbound_email_id/reroute(.:format) rails/conductor/action_mailbox/reroutes#create
rails_service_blob GET /rails/active_storage/blobs/:signed_id/*filename(.:format) active_storage/blobs#show
rails_blob_representation GET /rails/active_storage/representations/:signed_blob_id/:variation_key/*filename(.:format) active_storage/representations#show
rails_disk_service GET /rails/active_storage/disk/:encoded_key/*filename(.:format) active_storage/disk#show
update_rails_disk_service PUT /rails/active_storage/disk/:encoded_token(.:format) active_storage/disk#update
rails_direct_uploads POST /rails/active_storage/direct_uploads(.:format) active_storage/direct_uploads#create
// ♥ heroku logs
2020-02-19T16:44:53.897044+00:00 app[web.1]: [0e32db7c-e3cb-4afb-a003-d73b769ce813] actionpack (6.0.2.1) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
2020-02-19T16:44:53.897044+00:00 app[web.1]: [0e32db7c-e3cb-4afb-a003-d73b769ce813] railties (6.0.2.1) lib/rails/rack/logger.rb:38:in `call_app'
2020-02-19T16:44:53.897044+00:00 app[web.1]: [0e32db7c-e3cb-4afb-a003-d73b769ce813] railties (6.0.2.1) lib/rails/rack/logger.rb:26:in `block in call'
2020-02-19T16:44:53.897044+00:00 app[web.1]: [0e32db7c-e3cb-4afb-a003-d73b769ce813] activesupport (6.0.2.1) lib/active_support/tagged_logging.rb:80:in `block in tagged'
2020-02-19T16:44:53.897045+00:00 app[web.1]: [0e32db7c-e3cb-4afb-a003-d73b769ce813] activesupport (6.0.2.1) lib/active_support/tagged_logging.rb:28:in `tagged'
2020-02-19T16:44:53.897045+00:00 app[web.1]: [0e32db7c-e3cb-4afb-a003-d73b769ce813] activesupport (6.0.2.1) lib/active_support/tagged_logging.rb:80:in `tagged'
2020-02-19T16:44:53.897045+00:00 app[web.1]: [0e32db7c-e3cb-4afb-a003-d73b769ce813] railties (6.0.2.1) lib/rails/rack/logger.rb:26:in `call'
2020-02-19T16:44:53.897046+00:00 app[web.1]: [0e32db7c-e3cb-4afb-a003-d73b769ce813] actionpack (6.0.2.1) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
2020-02-19T16:44:53.897046+00:00 app[web.1]: [0e32db7c-e3cb-4afb-a003-d73b769ce813] actionpack (6.0.2.1) lib/action_dispatch/middleware/request_id.rb:27:in `call'
2020-02-19T16:44:53.897046+00:00 app[web.1]: [0e32db7c-e3cb-4afb-a003-d73b769ce813] rack (2.2.2) lib/rack/runtime.rb:22:in `call'
2020-02-19T16:44:53.897047+00:00 app[web.1]: [0e32db7c-e3cb-4afb-a003-d73b769ce813] activesupport (6.0.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
2020-02-19T16:44:53.897047+00:00 app[web.1]: [0e32db7c-e3cb-4afb-a003-d73b769ce813] actionpack (6.0.2.1) lib/action_dispatch/middleware/executor.rb:14:in `call'
2020-02-19T16:44:53.897047+00:00 app[web.1]: [0e32db7c-e3cb-4afb-a003-d73b769ce813] actionpack (6.0.2.1) lib/action_dispatch/middleware/static.rb:126:in `call'
2020-02-19T16:44:53.897047+00:00 app[web.1]: [0e32db7c-e3cb-4afb-a003-d73b769ce813] rack (2.2.2) lib/rack/sendfile.rb:110:in `call'
2020-02-19T16:44:53.897047+00:00 app[web.1]: [0e32db7c-e3cb-4afb-a003-d73b769ce813] actionpack (6.0.2.1) lib/action_dispatch/middleware/host_authorization.rb:77:in `call'
2020-02-19T16:44:53.897048+00:00 app[web.1]: [0e32db7c-e3cb-4afb-a003-d73b769ce813] rack-cors (1.1.1) lib/rack/cors.rb:100:in `call'
2020-02-19T16:44:53.897048+00:00 app[web.1]: [0e32db7c-e3cb-4afb-a003-d73b769ce813] railties (6.0.2.1) lib/rails/engine.rb:526:in `call'
2020-02-19T16:44:53.897048+00:00 app[web.1]: [0e32db7c-e3cb-4afb-a003-d73b769ce813] puma (4.3.1) lib/puma/configuration.rb:228:in `call'
2020-02-19T16:44:53.897048+00:00 app[web.1]: [0e32db7c-e3cb-4afb-a003-d73b769ce813] puma (4.3.1) lib/puma/server.rb:681:in `handle_request'
2020-02-19T16:44:53.897049+00:00 app[web.1]: [0e32db7c-e3cb-4afb-a003-d73b769ce813] puma (4.3.1) lib/puma/server.rb:472:in `process_client'
2020-02-19T16:44:53.897049+00:00 app[web.1]: [0e32db7c-e3cb-4afb-a003-d73b769ce813] puma (4.3.1) lib/puma/server.rb:328:in `block in run'
2020-02-19T16:44:53.897049+00:00 app[web.1]: [0e32db7c-e3cb-4afb-a003-d73b769ce813] puma (4.3.1) lib/puma/thread_pool.rb:134:in `block in spawn_thread'
2020-02-19T17:22:24.570026+00:00 heroku[web.1]: Idling
2020-02-19T17:22:24.573775+00:00 heroku[web.1]: State changed from up to down
2020-02-19T17:22:25.738188+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2020-02-19T17:22:25.771134+00:00 app[web.1]: - Gracefully stopping, waiting for requests to finish
2020-02-19T17:22:25.773522+00:00 app[web.1]: === puma shutdown: 2020-02-19 17:22:25 +0000 ===
2020-02-19T17:22:25.773546+00:00 app[web.1]: - Goodbye!
2020-02-19T17:22:25.866786+00:00 heroku[web.1]: Process exited with status 143
2020-02-19T18:47:00.519301+00:00 heroku[web.1]: Unidling
2020-02-19T18:47:00.536382+00:00 heroku[web.1]: State changed from down to starting
2020-02-19T18:47:03.058431+00:00 heroku[web.1]: Starting process with command `bundle exec puma -t 5:5 -p ${PORT:-3000} -e ${RACK_ENV:-development}`
2020-02-19T18:47:05.399248+00:00 app[web.1]: Puma starting in single mode...
2020-02-19T18:47:05.399262+00:00 app[web.1]: * Version 4.3.1 (ruby 2.6.5-p114), codename: Mysterious Traveller
2020-02-19T18:47:05.399263+00:00 app[web.1]: * Min threads: 5, max threads: 5
2020-02-19T18:47:05.399263+00:00 app[web.1]: * Environment: production
2020-02-19T18:47:11.357442+00:00 app[web.1]: * Listening on tcp://0.0.0.0:54444
2020-02-19T18:47:11.357812+00:00 app[web.1]: Use Ctrl-C to stop
2020-02-19T18:47:11.926899+00:00 heroku[web.1]: State changed from starting to up
2020-02-19T18:47:12.591966+00:00 heroku[router]: at=info method=OPTIONS path="/api/v1/auto_login" host=boiling-garden-61294.herokuapp.com request_id=63546cfe-0db6-4273-88ff-652097e7432c fwd="184.153.22.244" dyno=web.1 connect=1ms service=1ms status=200 bytes=307 protocol=https
2020-02-19T19:02:50.855756+00:00 app[web.1]: I, [2020-02-19T19:02:50.855651 #4] INFO -- : [3c337a3b-162b-4362-8d16-0ed2f50318c5] Started GET "/api/v1/auto_login" for 184.153.22.244 at 2020-02-19 19:02:50 +0000
2020-02-19T19:02:50.857404+00:00 app[web.1]: I, [2020-02-19T19:02:50.857329 #4] INFO -- : [3c337a3b-162b-4362-8d16-0ed2f50318c5] Processing by Api::V1::AuthController#auto_login as */*
2020-02-19T19:02:52.341221+00:00 app[web.1]: D, [2020-02-19T19:02:52.341059 #4] DEBUG -- : [3c337a3b-162b-4362-8d16-0ed2f50318c5] User Load (17.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]]
2020-02-19T19:02:52.426916+00:00 app[web.1]: D, [2020-02-19T19:02:52.426791 #4] DEBUG -- : [3c337a3b-162b-4362-8d16-0ed2f50318c5] CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]]
2020-02-19T19:02:52.473014+00:00 app[web.1]: D, [2020-02-19T19:02:52.472882 #4] DEBUG -- : [3c337a3b-162b-4362-8d16-0ed2f50318c5] [active_model_serializers] Pet Load (35.6ms) SELECT "pets".* FROM "pets" WHERE "pets"."owner_id" = $1 [["owner_id", 4]]
2020-02-19T19:02:52.493448+00:00 app[web.1]: I, [2020-02-19T19:02:52.493334 #4] INFO -- : [3c337a3b-162b-4362-8d16-0ed2f50318c5] [active_model_serializers] Rendered UserSerializer with ActiveModelSerializers::Adapter::Attributes (65.55ms)
2020-02-19T19:02:52.493828+00:00 app[web.1]: I, [2020-02-19T19:02:52.493752 #4] INFO -- : [3c337a3b-162b-4362-8d16-0ed2f50318c5] Completed 200 OK in 1636ms (Views: 23.2ms | ActiveRecord: 1558.9ms | Allocations: 17956)
2020-02-19T19:02:52.495894+00:00 heroku[router]: at=info method=GET path="/api/v1/auto_login" host=boiling-garden-61294.herokuapp.com request_id=3c337a3b-162b-4362-8d16-0ed2f50318c5 fwd="184.153.22.244" dyno=web.1 connect=0ms service=1641ms status=304 bytes=636 protocol=https
2020-02-19T19:38:32.700667+00:00 heroku[web.1]: Idling
2020-02-19T19:38:32.705096+00:00 heroku[web.1]: State changed from up to down
2020-02-19T19:38:33.831696+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2020-02-19T19:38:33.852410+00:00 app[web.1]: - Gracefully stopping, waiting for requests to finish
2020-02-19T19:38:33.858074+00:00 app[web.1]: === puma shutdown: 2020-02-19 19:38:33 +0000 ===
2020-02-19T19:38:33.858355+00:00 app[web.1]: - Goodbye!
2020-02-19T19:38:33.969920+00:00 heroku[web.1]: Process exited with status 143
2020-02-19T20:07:07.613633+00:00 heroku[web.1]: Unidling
2020-02-19T20:07:07.628601+00:00 heroku[web.1]: State changed from down to starting
2020-02-19T20:07:10.629524+00:00 heroku[web.1]: Starting process with command `bundle exec puma -t 5:5 -p ${PORT:-3000} -e ${RACK_ENV:-development}`
2020-02-19T20:07:13.443149+00:00 app[web.1]: Puma starting in single mode...
2020-02-19T20:07:13.443242+00:00 app[web.1]: * Version 4.3.1 (ruby 2.6.5-p114), codename: Mysterious Traveller
2020-02-19T20:07:13.443243+00:00 app[web.1]: * Min threads: 5, max threads: 5
2020-02-19T20:07:13.443244+00:00 app[web.1]: * Environment: production
2020-02-19T20:07:19.064575+00:00 app[web.1]: * Listening on tcp://0.0.0.0:26954
2020-02-19T20:07:19.065126+00:00 app[web.1]: Use Ctrl-C to stop
2020-02-19T20:07:19.389039+00:00 heroku[web.1]: State changed from starting to up
2020-02-19T20:07:21.691904+00:00 app[web.1]: I, [2020-02-19T20:07:21.691780 #4] INFO -- : [de344029-a862-437f-8eeb-e7c3092c3894] Started GET "/" for 184.153.22.244 at 2020-02-19 20:07:21 +0000
2020-02-19T20:07:21.693363+00:00 app[web.1]: F, [2020-02-19T20:07:21.693281 #4] FATAL -- : [de344029-a862-437f-8eeb-e7c3092c3894]
2020-02-19T20:07:21.693364+00:00 app[web.1]: [de344029-a862-437f-8eeb-e7c3092c3894] ActionController::RoutingError (No route matches [GET] "/"):
2020-02-19T20:07:21.693365+00:00 app[web.1]: [de344029-a862-437f-8eeb-e7c3092c3894]
2020-02-19T20:07:21.693379+00:00 app[web.1]: [de344029-a862-437f-8eeb-e7c3092c3894] actionpack (6.0.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:36:in `call'
2020-02-19T20:07:21.693379+00:00 app[web.1]: [de344029-a862-437f-8eeb-e7c3092c3894] actionpack (6.0.2.1) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
2020-02-19T20:07:21.693380+00:00 app[web.1]: [de344029-a862-437f-8eeb-e7c3092c3894] railties (6.0.2.1) lib/rails/rack/logger.rb:38:in `call_app'
2020-02-19T20:07:21.693380+00:00 app[web.1]: [de344029-a862-437f-8eeb-e7c3092c3894] railties (6.0.2.1) lib/rails/rack/logger.rb:26:in `block in call'
2020-02-19T20:07:21.693381+00:00 app[web.1]: [de344029-a862-437f-8eeb-e7c3092c3894] activesupport (6.0.2.1) lib/active_support/tagged_logging.rb:80:in `block in tagged'
2020-02-19T20:07:21.693381+00:00 app[web.1]: [de344029-a862-437f-8eeb-e7c3092c3894] activesupport (6.0.2.1) lib/active_support/tagged_logging.rb:28:in `tagged'
2020-02-19T20:07:21.693381+00:00 app[web.1]: [de344029-a862-437f-8eeb-e7c3092c3894] activesupport (6.0.2.1) lib/active_support/tagged_logging.rb:80:in `tagged'
2020-02-19T20:07:21.693382+00:00 app[web.1]: [de344029-a862-437f-8eeb-e7c3092c3894] railties (6.0.2.1) lib/rails/rack/logger.rb:26:in `call'
2020-02-19T20:07:21.693382+00:00 app[web.1]: [de344029-a862-437f-8eeb-e7c3092c3894] actionpack (6.0.2.1) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
2020-02-19T20:07:21.693382+00:00 app[web.1]: [de344029-a862-437f-8eeb-e7c3092c3894] actionpack (6.0.2.1) lib/action_dispatch/middleware/request_id.rb:27:in `call'
2020-02-19T20:07:21.693383+00:00 app[web.1]: [de344029-a862-437f-8eeb-e7c3092c3894] rack (2.2.2) lib/rack/runtime.rb:22:in `call'
2020-02-19T20:07:21.693384+00:00 app[web.1]: [de344029-a862-437f-8eeb-e7c3092c3894] activesupport (6.0.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
2020-02-19T20:07:21.693385+00:00 app[web.1]: [de344029-a862-437f-8eeb-e7c3092c3894] actionpack (6.0.2.1) lib/action_dispatch/middleware/executor.rb:14:in `call'
2020-02-19T20:07:21.693385+00:00 app[web.1]: [de344029-a862-437f-8eeb-e7c3092c3894] actionpack (6.0.2.1) lib/action_dispatch/middleware/static.rb:126:in `call'
2020-02-19T20:07:21.693385+00:00 app[web.1]: [de344029-a862-437f-8eeb-e7c3092c3894] rack (2.2.2) lib/rack/sendfile.rb:110:in `call'
2020-02-19T20:07:21.693386+00:00 app[web.1]: [de344029-a862-437f-8eeb-e7c3092c3894] actionpack (6.0.2.1) lib/action_dispatch/middleware/host_authorization.rb:77:in `call'
2020-02-19T20:07:21.693386+00:00 app[web.1]: [de344029-a862-437f-8eeb-e7c3092c3894] rack-cors (1.1.1) lib/rack/cors.rb:100:in `call'
2020-02-19T20:07:21.693387+00:00 app[web.1]: [de344029-a862-437f-8eeb-e7c3092c3894] railties (6.0.2.1) lib/rails/engine.rb:526:in `call'
2020-02-19T20:07:21.693387+00:00 app[web.1]: [de344029-a862-437f-8eeb-e7c3092c3894] puma (4.3.1) lib/puma/configuration.rb:228:in `call'
2020-02-19T20:07:21.693387+00:00 app[web.1]: [de344029-a862-437f-8eeb-e7c3092c3894] puma (4.3.1) lib/puma/server.rb:681:in `handle_request'
2020-02-19T20:07:21.693388+00:00 app[web.1]: [de344029-a862-437f-8eeb-e7c3092c3894] puma (4.3.1) lib/puma/server.rb:472:in `process_client'
2020-02-19T20:07:21.693388+00:00 app[web.1]: [de344029-a862-437f-8eeb-e7c3092c3894] puma (4.3.1) lib/puma/server.rb:328:in `block in run'
2020-02-19T20:07:21.693389+00:00 app[web.1]: [de344029-a862-437f-8eeb-e7c3092c3894] puma (4.3.1) lib/puma/thread_pool.rb:134:in `block in spawn_thread'
2020-02-19T20:07:21.695902+00:00 heroku[router]: at=info method=GET path="/" host=boiling-garden-61294.herokuapp.com request_id=de344029-a862-437f-8eeb-e7c3092c3894 fwd="184.153.22.244" dyno=web.1 connect=1ms service=7ms status=404 bytes=191 protocol=https
2020-02-19T20:38:22.500446+00:00 heroku[web.1]: Idling
2020-02-19T20:38:22.505029+00:00 heroku[web.1]: State changed from up to down
2020-02-19T20:38:23.149591+00:00 app[web.1]: - Gracefully stopping, waiting for requests to finish
2020-02-19T20:38:23.150452+00:00 app[web.1]: === puma shutdown: 2020-02-19 20:38:23 +0000 ===
2020-02-19T20:38:23.150454+00:00 app[web.1]: - Goodbye!
2020-02-19T20:38:23.141795+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2020-02-19T20:38:23.197413+00:00 heroku[web.1]: Process exited with status 143```

This is a normal behavior in --api only applications, simply rails doesn't know what to serve. In API only applications ApplicationController inherits from ActionController::API instead of ActionController::Base which removes some functionality required by browsers.
An API Controller is different from a normal controller in the sense that by default it doesn't include some features that are usually required by browser access only: layouts and templates rendering, flash, assets, and so on. This makes the entire controller stack thinner, suitable for API applications. It doesn't mean you won't have such features if you need them: they're all available for you to include in your application, they're just not part of the default API controller stack.
Source: https://api.rubyonrails.org/classes/ActionController/API.html
If you have designed the application as json api, all json format urls should work fine.

Related

Rails Fatal Error caused by no routing match

I noticed that when a bot is on my website looking for ways to hack it, it tries random URL.
I get the following info warning.
ActionController::RoutingError (No route matches [GET] "/.ENV"):
Immediately following the info warning, I get a fatal critical error.
I assume a no match should not cause a fatal error, so what is going on? How do I trouble shoot this and fix the fatal error?
Logs:
2022-02-17T18:31:34.137656+00:00 app[web.1]: I, [2022-02-17T18:31:34.137492 #9] INFO -- : [dc7133cd-ffca-4859-877a-c4b1c22549b4] Started GET "/.env" for 172.70.126.151 at 2022-02-17 18:31:34 +0000
2022-02-17T18:31:34.139166+00:00 app[web.1]: D, [2022-02-17T18:31:34.138940 #9] DEBUG -- : [dc7133cd-ffca-4859-877a-c4b1c22549b4] User excluded error: #<ActionController::RoutingError: No route matches [GET] "/.env">
2022-02-17T18:31:34.139941+00:00 app[web.1]: F, [2022-02-17T18:31:34.139886 #9] FATAL -- : [dc7133cd-ffca-4859-877a-c4b1c22549b4]
2022-02-17T18:31:34.139953+00:00 app[web.1]: [dc7133cd-ffca-4859-877a-c4b1c22549b4] ActionController::RoutingError (No route matches [GET] "/.env"):
2022-02-17T18:31:34.139954+00:00 app[web.1]: [dc7133cd-ffca-4859-877a-c4b1c22549b4]
2022-02-17T18:31:34.139955+00:00 app[web.1]: [dc7133cd-ffca-4859-877a-c4b1c22549b4] actionpack (6.0.3.7) lib/action_dispatch/middleware/debug_exceptions.rb:36:in `call'
2022-02-17T18:31:34.139955+00:00 app[web.1]: [dc7133cd-ffca-4859-877a-c4b1c22549b4] actionpack (6.0.3.7) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
2022-02-17T18:31:34.139955+00:00 app[web.1]: [dc7133cd-ffca-4859-877a-c4b1c22549b4] railties (6.0.3.7) lib/rails/rack/logger.rb:37:in `call_app'
2022-02-17T18:31:34.139956+00:00 app[web.1]: [dc7133cd-ffca-4859-877a-c4b1c22549b4] railties (6.0.3.7) lib/rails/rack/logger.rb:26:in `block in call'
2022-02-17T18:31:34.139956+00:00 app[web.1]: [dc7133cd-ffca-4859-877a-c4b1c22549b4] activesupport (6.0.3.7) lib/active_support/tagged_logging.rb:80:in `block in tagged'
2022-02-17T18:31:34.139957+00:00 app[web.1]: [dc7133cd-ffca-4859-877a-c4b1c22549b4] activesupport (6.0.3.7) lib/active_support/tagged_logging.rb:28:in `tagged'
2022-02-17T18:31:34.139957+00:00 app[web.1]: [dc7133cd-ffca-4859-877a-c4b1c22549b4] activesupport (6.0.3.7) lib/active_support/tagged_logging.rb:80:in `tagged'
2022-02-17T18:31:34.139958+00:00 app[web.1]: [dc7133cd-ffca-4859-877a-c4b1c22549b4] railties (6.0.3.7) lib/rails/rack/logger.rb:26:in `call'
2022-02-17T18:31:34.139958+00:00 app[web.1]: [dc7133cd-ffca-4859-877a-c4b1c22549b4] actionpack (6.0.3.7) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
2022-02-17T18:31:34.139959+00:00 app[web.1]: [dc7133cd-ffca-4859-877a-c4b1c22549b4] actionpack (6.0.3.7) lib/action_dispatch/middleware/request_id.rb:27:in `call'
2022-02-17T18:31:34.139959+00:00 app[web.1]: [dc7133cd-ffca-4859-877a-c4b1c22549b4] rack (2.2.3) lib/rack/method_override.rb:24:in `call'
2022-02-17T18:31:34.139959+00:00 app[web.1]: [dc7133cd-ffca-4859-877a-c4b1c22549b4] rack (2.2.3) lib/rack/runtime.rb:22:in `call'
2022-02-17T18:31:34.139960+00:00 app[web.1]: [dc7133cd-ffca-4859-877a-c4b1c22549b4] activesupport (6.0.3.7) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
2022-02-17T18:31:34.139960+00:00 app[web.1]: [dc7133cd-ffca-4859-877a-c4b1c22549b4] actionpack (6.0.3.7) lib/action_dispatch/middleware/executor.rb:14:in `call'
2022-02-17T18:31:34.139961+00:00 app[web.1]: [dc7133cd-ffca-4859-877a-c4b1c22549b4] actionpack (6.0.3.7) lib/action_dispatch/middleware/static.rb:126:in `call'
2022-02-17T18:31:34.139961+00:00 app[web.1]: [dc7133cd-ffca-4859-877a-c4b1c22549b4] rack (2.2.3) lib/rack/sendfile.rb:110:in `call'
2022-02-17T18:31:34.139961+00:00 app[web.1]: [dc7133cd-ffca-4859-877a-c4b1c22549b4] actionpack (6.0.3.7) lib/action_dispatch/middleware/ssl.rb:74:in `call'
2022-02-17T18:31:34.139968+00:00 app[web.1]: [dc7133cd-ffca-4859-877a-c4b1c22549b4] actionpack (6.0.3.7) lib/action_dispatch/middleware/host_authorization.rb:76:in `call'
2022-02-17T18:31:34.139968+00:00 app[web.1]: [dc7133cd-ffca-4859-877a-c4b1c22549b4] sentry-raven (3.1.2) lib/raven/integrations/rack.rb:51:in `call'
2022-02-17T18:31:34.139968+00:00 app[web.1]: [dc7133cd-ffca-4859-877a-c4b1c22549b4] hirefire-resource (0.8.1) lib/hirefire/middleware.rb:38:in `call'
2022-02-17T18:31:34.139968+00:00 app[web.1]: [dc7133cd-ffca-4859-877a-c4b1c22549b4] railties (6.0.3.7) lib/rails/engine.rb:527:in `call'
2022-02-17T18:31:34.139969+00:00 app[web.1]: [dc7133cd-ffca-4859-877a-c4b1c22549b4] puma (4.3.9) lib/puma/configuration.rb:228:in `call'
2022-02-17T18:31:34.139969+00:00 app[web.1]: [dc7133cd-ffca-4859-877a-c4b1c22549b4] puma (4.3.9) lib/puma/server.rb:718:in `handle_request'
2022-02-17T18:31:34.139969+00:00 app[web.1]: [dc7133cd-ffca-4859-877a-c4b1c22549b4] puma (4.3.9) lib/puma/server.rb:472:in `process_client'
2022-02-17T18:31:34.139969+00:00 app[web.1]: [dc7133cd-ffca-4859-877a-c4b1c22549b4] puma (4.3.9) lib/puma/server.rb:328:in `block in run'
2022-02-17T18:31:34.139969+00:00 app[web.1]: [dc7133cd-ffca-4859-877a-c4b1c22549b4] puma (4.3.9) lib/puma/thread_pool.rb:134:in `block in spawn_thread'
2022-02-17T18:31:34.140817+00:00 heroku[router]: at=info method=GET path="/.env" host=staging.domain.com request_id=dc7133cd-ffca-4859-877a-c4b1c22549b4 fwd="2600:1700:b10:9640:f096:4739:6442:3fe3,172.70.126.151" dyno=web.1 connect=0ms service=6ms status=404 bytes=1966 protocol=https
2022-02-17T18:31:45.085231+00:00 heroku[web.1]: source=web.1 dyno=heroku.130871651.b84fda64-f10b-429f-a330-d43dfb1525fe sample#load_avg_1m=0.00 sample#load_avg_5m=0.00 sample#load_avg_15m=0.00
2022-02-17T18:31:45.115556+00:00 heroku[web.1]: source=web.1 dyno=heroku.130871651.b84fda64-f10b-429f-a330-d43dfb1525fe sample#memory_total=274.26MB sample#memory_rss=251.54MB sample#memory_cache=22.72MB sample#memory_swap=0.00MB sample#memory_pgpgin=83227pages sample#memory_pgpgout=13017pages sample#memory_quota=512.00MB
2022-02-17T18:31:48.423645+00:00 heroku[worker.1]: source=worker.1 dyno=heroku.130871651.052aee64-5021-45f3-bd0d-aa3300479f2f sample#load_avg_1m=0.00 sample#load_avg_5m=0.02 sample#load_avg_15m=0.03
2022-02-17T18:31:48.467744+00:00 heroku[worker.1]: source=worker.1 dyno=heroku.130871651.052aee64-5021-45f3-bd0d-aa3300479f2f sample#memory_total=213.85MB sample#memory_rss=213.18MB sample#memory_cache=0.68MB sample#memory_swap=0.00MB sample#memory_pgpgin=73353pages sample#memory_pgpgout=18607pages sample#memory_quota=512.00MB
2022-02-17T18:32:07.879579+00:00 heroku[web.1]: source=web.1 dyno=heroku.130871651.b84fda64-f10b-429f-a330-d43dfb1525fe sample#load_avg_1m=0.00 sample#load_avg_5m=0.00 sample#load_avg_15m=0.00
2022-02-17T18:32:07.966230+00:00 heroku[web.1]: source=web.1 dyno=heroku.130871651.b84fda64-f10b-429f-a330-d43dfb1525fe sample#memory_total=274.15MB sample#memory_rss=251.66MB sample#memory_cache=22.49MB sample#memory_swap=0.00MB sample#memory_pgpgin=83258pages sample#memory_pgpgout=13075pages sample#memory_quota=512.00MB
2022-02-17T18:32:23.521477+00:00 heroku[worker.1]: source=worker.1 dyno=heroku.130871651.052aee64-5021-45f3-bd0d-aa3300479f2f sample#load_avg_1m=0.00 sample#load_avg_5m=0.01 sample#load_avg_15m=0.03
2022-02-17T18:32:23.555014+00:00 heroku[worker.1]: source=worker.1 dyno=heroku.130871651.052aee64-5021-45f3-bd0d-aa3300479f2f sample#memory_total=213.86MB sample#memory_rss=213.18MB sample#memory_cache=0.68MB sample#memory_swap=0.00MB sample#memory_pgpgin=73355pages sample#memory_pgpgout=18607pages sample#memory_quota=512.00MB
2022-02-17T18:32:28.920515+00:00 heroku[web.1]: source=web.1 dyno=heroku.130871651.b84fda64-f10b-429f-a330-d43dfb1525fe sample#load_avg_1m=0.00 sample#load_avg_5m=0.00 sample#load_avg_15m=0.00
2022-02-17T18:32:29.070470+00:00 heroku[web.1]: source=web.1 dyno=heroku.130871651.b84fda64-f10b-429f-a330-d43dfb1525fe sample#memory_total=274.25MB sample#memory_rss=251.76MB sample#memory_cache=22.49MB sample#memory_swap=0.00MB sample#memory_pgpgin=83284pages sample#memory_pgpgout=13075pages sample#memory_quota=512.00MB
I handle my 404 errors from the application controller:
def not_found
raise ActionController::RoutingError.new("Not Found")
rescue ActionController::RoutingError
render_404
end
def render_404
render(file: Rails.root.join("public", "404.html"), status: :not_found) && return
end

Ruby on Rails app in Cloud9 "doesn't exist" on Heroku

I'm working on my first Rails app. I'm in Windows, so I'm building it in Cloud9, and I deployed it to Heroku. In my Heroku dashboard, the app appears to be fine, but the app page gives me the message: The page you were looking for doesn't exist. After some searching, it seemed like I needed to run heroku run rake db:migrate to migrate the database, but that doesn't help.
Here are my Heroku logs:
heroku-cli: This CLI is deprecated. Please reinstall from https://cli.heroku.com
2017-08-11T01:43:05.558405+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] Started GET "/" for 99.120.160.17 at 2017-08-11 01:43:05 +0000
2017-08-11T01:43:05.558994+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3]
2017-08-11T01:43:05.559041+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] ActionController::RoutingError (No route matches [GET] "/"):
2017-08-11T01:43:05.559084+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3]
2017-08-11T01:43:05.559167+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
2017-08-11T01:43:05.559168+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
2017-08-11T01:43:05.559169+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/railties-5.1.3/lib/rails/rack/logger.rb:36:in `call_app'
2017-08-11T01:43:05.559171+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'
2017-08-11T01:43:05.559170+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/railties-5.1.3/lib/rails/rack/logger.rb:24:in `block in call'
2017-08-11T01:43:05.559171+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'
2017-08-11T01:43:05.559172+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'
2017-08-11T01:43:05.559172+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/railties-5.1.3/lib/rails/rack/logger.rb:24:in `call'
2017-08-11T01:43:05.559173+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/request_id.rb:25:in `call'
2017-08-11T01:43:05.559173+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
2017-08-11T01:43:05.559174+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/method_override.rb:22:in `call'
2017-08-11T01:43:05.559174+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/runtime.rb:22:in `call'
2017-08-11T01:43:05.559176+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.3/lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
2017-08-11T01:43:05.559177+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/executor.rb:12:in `call'
2017-08-11T01:43:05.559177+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/static.rb:125:in `call'
2017-08-11T01:43:05.559178+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/sendfile.rb:111:in `call'
2017-08-11T01:43:05.559178+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/railties-5.1.3/lib/rails/engine.rb:522:in `call'
2017-08-11T01:43:05.559179+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/puma-3.9.1/lib/puma/configuration.rb:224:in `call'
2017-08-11T01:43:05.559180+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/puma-3.9.1/lib/puma/server.rb:602:in `handle_request'
2017-08-11T01:43:05.559181+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/puma-3.9.1/lib/puma/server.rb:435:in `process_client'
2017-08-11T01:43:05.559181+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/puma-3.9.1/lib/puma/server.rb:299:in `block in run'
2017-08-11T01:43:05.559182+00:00 app[web.1]: [4ba2946c-ac27-40e5-9103-3e816be754f3] vendor/bundle/ruby/2.3.0/gems/puma-3.9.1/lib/puma/thread_pool.rb:120:in `block in spawn_thread'
2017-08-11T01:43:05.559094+00:00 heroku[router]: at=info method=GET path="/" host=ancient-chamber-34720.herokuapp.com request_id=4ba2946c-ac27-40e5-9103-3e816be754f3 fwd="99.120.160.17" dyno=web.1 connect=0ms service=3ms status=404 bytes=1902 protocol=https
2017-08-11T01:47:57.042650+00:00 app[api]: Starting process with command `bundle exec rake db:setup` by user brandoncaples#gmail.com
2017-08-11T01:48:01.990913+00:00 heroku[run.4123]: State changed from starting to up
2017-08-11T01:48:02.024309+00:00 heroku[run.4123]: Awaiting client
2017-08-11T01:48:02.052289+00:00 heroku[run.4123]: Starting process with command `bundle exec rake db:setup`
2017-08-11T01:48:10.217218+00:00 heroku[run.4123]: Process exited with status 1
2017-08-11T01:48:10.232633+00:00 heroku[run.4123]: State changed from up to complete
2017-08-11T02:02:42.679829+00:00 app[api]: Starting process with command `bundle exec rake db:migrate` by user brandoncaples#gmail.com
2017-08-11T02:02:51.689696+00:00 heroku[run.1356]: Awaiting client
2017-08-11T02:02:51.739457+00:00 heroku[run.1356]: Starting process with command `bundle exec rake db:migrate`
2017-08-11T02:02:51.866557+00:00 heroku[run.1356]: State changed from starting to up
2017-08-11T02:02:59.292552+00:00 heroku[run.1356]: Process exited with status 0
2017-08-11T02:02:59.307200+00:00 heroku[run.1356]: State changed from up to complete
2017-08-11T02:05:52.716537+00:00 heroku[router]: at=info method=GET path="/" host=ancient-chamber-34720.herokuapp.com request_id=fd8e890f-9c20-4efb-8d70-a91ceab82aba fwd="99.120.160.17" dyno=web.1 connect=0ms service=2ms status=404 bytes=1902 protocol=https
2017-08-11T02:05:52.715968+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] Started GET "/" for 99.120.160.17 at 2017-08-11 02:05:52 +0000
2017-08-11T02:05:52.716458+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba]
2017-08-11T02:05:52.716486+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] ActionController::RoutingError (No route matches [GET] "/"):
2017-08-11T02:05:52.716510+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba]
2017-08-11T02:05:52.716553+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
2017-08-11T02:05:52.716554+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
2017-08-11T02:05:52.716556+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/railties-5.1.3/lib/rails/rack/logger.rb:36:in `call_app'
2017-08-11T02:05:52.716558+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/railties-5.1.3/lib/rails/rack/logger.rb:24:in `block in call'
2017-08-11T02:05:52.716558+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'
2017-08-11T02:05:52.716559+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'
2017-08-11T02:05:52.716560+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'
2017-08-11T02:05:52.716561+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/railties-5.1.3/lib/rails/rack/logger.rb:24:in `call'
2017-08-11T02:05:52.716561+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
2017-08-11T02:05:52.716563+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/method_override.rb:22:in `call'
2017-08-11T02:05:52.716562+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/request_id.rb:25:in `call'
2017-08-11T02:05:52.716564+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/runtime.rb:22:in `call'
2017-08-11T02:05:52.716565+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.3/lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
2017-08-11T02:05:52.716566+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/executor.rb:12:in `call'
2017-08-11T02:05:52.716567+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/static.rb:125:in `call'
2017-08-11T02:05:52.716568+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/railties-5.1.3/lib/rails/engine.rb:522:in `call'
2017-08-11T02:05:52.716567+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/sendfile.rb:111:in `call'
2017-08-11T02:05:52.716569+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/puma-3.9.1/lib/puma/configuration.rb:224:in `call'
2017-08-11T02:05:52.716569+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/puma-3.9.1/lib/puma/server.rb:602:in `handle_request'
2017-08-11T02:05:52.716570+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/puma-3.9.1/lib/puma/server.rb:435:in `process_client'
2017-08-11T02:05:52.716571+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/puma-3.9.1/lib/puma/server.rb:299:in `block in run'
2017-08-11T02:05:52.716572+00:00 app[web.1]: [fd8e890f-9c20-4efb-8d70-a91ceab82aba] vendor/bundle/ruby/2.3.0/gems/puma-3.9.1/lib/puma/thread_pool.rb:120:in `block in spawn_thread'
2017-08-11T02:10:18.256514+00:00 heroku[router]: at=info method=GET path="/" host=ancient-chamber-34720.herokuapp.com request_id=18159048-11cd-4f4c-9bfe-e2e258376b0c fwd="99.120.160.17" dyno=web.1 connect=0ms service=2ms status=404 bytes=1902 protocol=https
2017-08-11T02:10:18.255372+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] Started GET "/" for 99.120.160.17 at 2017-08-11 02:10:18 +0000
2017-08-11T02:10:18.255948+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c]
2017-08-11T02:10:18.256009+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] ActionController::RoutingError (No route matches [GET] "/"):
2017-08-11T02:10:18.256060+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c]
2017-08-11T02:10:18.256151+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
2017-08-11T02:10:18.256153+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
2017-08-11T02:10:18.256155+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/railties-5.1.3/lib/rails/rack/logger.rb:36:in `call_app'
2017-08-11T02:10:18.256156+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/railties-5.1.3/lib/rails/rack/logger.rb:24:in `block in call'
2017-08-11T02:10:18.256157+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'
2017-08-11T02:10:18.256158+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'
2017-08-11T02:10:18.256159+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'
2017-08-11T02:10:18.256159+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/railties-5.1.3/lib/rails/rack/logger.rb:24:in `call'
2017-08-11T02:10:18.256161+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/request_id.rb:25:in `call'
2017-08-11T02:10:18.256161+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/method_override.rb:22:in `call'
2017-08-11T02:10:18.256160+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
2017-08-11T02:10:18.256162+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/runtime.rb:22:in `call'
2017-08-11T02:10:18.256163+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.3/lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
2017-08-11T02:10:18.256164+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/executor.rb:12:in `call'
2017-08-11T02:10:18.256165+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/static.rb:125:in `call'
2017-08-11T02:10:18.256165+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/sendfile.rb:111:in `call'
2017-08-11T02:10:18.256166+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/railties-5.1.3/lib/rails/engine.rb:522:in `call'
2017-08-11T02:10:18.256166+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/puma-3.9.1/lib/puma/configuration.rb:224:in `call'
2017-08-11T02:10:18.256167+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/puma-3.9.1/lib/puma/server.rb:602:in `handle_request'
2017-08-11T02:10:18.256168+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/puma-3.9.1/lib/puma/server.rb:435:in `process_client'
2017-08-11T02:10:18.256169+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/puma-3.9.1/lib/puma/server.rb:299:in `block in run'
2017-08-11T02:10:18.256169+00:00 app[web.1]: [18159048-11cd-4f4c-9bfe-e2e258376b0c] vendor/bundle/ruby/2.3.0/gems/puma-3.9.1/lib/puma/thread_pool.rb:120:in `block in spawn_thread'
2017-08-11T02:44:02.843309+00:00 heroku[web.1]: Idling
2017-08-11T02:44:02.844174+00:00 heroku[web.1]: State changed from up to down
2017-08-11T02:44:03.498485+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2017-08-11T02:44:03.512042+00:00 app[web.1]: - Gracefully stopping, waiting for requests to finish
2017-08-11T02:44:03.512960+00:00 app[web.1]: Exiting
2017-08-11T02:44:03.512921+00:00 app[web.1]: - Goodbye!
2017-08-11T02:44:03.512915+00:00 app[web.1]: === puma shutdown: 2017-08-11 02:44:03 +0000 ===
2017-08-11T02:44:03.635679+00:00 heroku[web.1]: Process exited with status 0
Any suggestions?
I think you need to compile your asset,
you can do this in your
config/environments/production.rb file:
Please change this
config.assets.compile = true
It will be very helpful if you post log from heroku.

Routing error in heroku app after deployment with git push command

I am at chapter 3 of Michael Hartl's tutorial but when I do git push heroku master and it says that it has been deployed to heroku successfully but when I go to the url: http://young-thicket-2043.herokuapp.com/ it says that the app cannot be seen.
I've checked out heroku logs and this was given:
2014-07-02T08:07:16.462137+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
2014-07-02T08:07:16.462132+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
2014-07-02T08:07:16.462138+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/engine.rb:511:in `call'
2014-07-02T08:07:16.462148+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
2014-07-02T08:07:16.462150+00:00 app[web.1]:
2014-07-02T08:07:16.462151+00:00 app[web.1]:
2014-07-02T08:07:16.462158+00:00 app[web.1]:
2014-07-02T08:07:16.462159+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/"):
2014-07-02T08:07:16.462161+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
2014-07-02T08:07:16.462162+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2014-07-02T08:07:16.462164+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/rack/logger.rb:38:in `call_app'
2014-07-02T08:07:16.462165+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/rack/logger.rb:20:in `block in call'
2014-07-02T08:07:16.462167+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.5/lib/active_support/tagged_logging.rb:68:in `block in tagged'
2014-07-02T08:07:16.462168+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.5/lib/active_support/tagged_logging.rb:26:in `tagged'
2014-07-02T08:07:16.462170+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.5/lib/active_support/tagged_logging.rb:68:in `tagged'
2014-07-02T08:07:16.462171+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/rack/logger.rb:20:in `call'
2014-07-02T08:07:16.462173+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2014-07-02T08:07:16.462174+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
2014-07-02T08:07:16.462176+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
2014-07-02T08:07:16.462177+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.5/lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2014-07-02T08:07:16.462180+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
2014-07-02T08:07:16.462194+00:00 app[web.1]:
2014-07-02T08:07:16.462179+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/static.rb:64:in `call'
2014-07-02T08:07:16.462184+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
2014-07-02T08:07:16.462185+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
2014-07-02T08:07:16.462187+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
2014-07-02T08:07:16.462181+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/engine.rb:511:in `call'
2014-07-02T08:07:16.462183+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/application.rb:97:in `call'
2014-07-02T08:07:16.462191+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
2014-07-02T08:07:16.462192+00:00 app[web.1]:
2014-07-02T08:07:16.462188+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2014-07-02T08:07:16.462190+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2014-07-02T08:07:16.781513+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=young-thicket-2043.herokuapp.com request_id=f65ad084-f721-4a4c-8f99-bdd1938d4dd4 fwd="192.122.131.37" dyno=web.1 connect=0ms service=5ms status=304 bytes=133
2014-07-02T08:16:35.325747+00:00 heroku[router]: at=info method=GET path="/" host=young-thicket-2043.herokuapp.com request_id=4fc6cfec-39d8-4a2c-ac04-09013042ca7b fwd="192.122.131.37" dyno=web.1 connect=1ms service=520ms status=404 bytes=1616
2014-07-02T08:16:35.319865+00:00 app[web.1]:
2014-07-02T08:16:35.319873+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
2014-07-02T08:16:35.319874+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2014-07-02T08:16:35.319870+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/"):
2014-07-02T08:16:35.217481+00:00 app[web.1]: Started GET "/" for 192.122.131.37 at 2014-07-02 08:16:35 +0000
2014-07-02T08:16:35.319876+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/rack/logger.rb:38:in `call_app'
2014-07-02T08:16:35.319891+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.5/lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2014-07-02T08:16:35.319878+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/rack/logger.rb:20:in `block in call'
2014-07-02T08:16:35.319892+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/static.rb:64:in `call'
2014-07-02T08:16:35.319880+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.5/lib/active_support/tagged_logging.rb:68:in `block in tagged'
2014-07-02T08:16:35.319881+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.5/lib/active_support/tagged_logging.rb:26:in `tagged'
2014-07-02T08:16:35.319921+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2014-07-02T08:16:35.319883+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.5/lib/active_support/tagged_logging.rb:68:in `tagged'
2014-07-02T08:16:35.319886+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2014-07-02T08:16:35.319884+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/rack/logger.rb:20:in `call'
2014-07-02T08:16:35.225563+00:00 app[web.1]: Started GET "/" for 192.122.131.37 at 2014-07-02 08:16:35 +0000
2014-07-02T08:16:35.319919+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2014-07-02T08:16:35.321135+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/rack/logger.rb:20:in `block in call'
2014-07-02T08:16:35.321133+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2014-07-02T08:16:35.319923+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
2014-07-02T08:16:35.319887+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
2014-07-02T08:16:35.321127+00:00 app[web.1]:
2014-07-02T08:16:35.319895+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/engine.rb:511:in `call'
2014-07-02T08:16:35.319897+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/application.rb:97:in `call'
2014-07-02T08:16:35.319894+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
2014-07-02T08:16:35.321137+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.5/lib/active_support/tagged_logging.rb:68:in `block in tagged'
2014-07-02T08:16:35.321145+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
2014-07-02T08:16:35.321147+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.5/lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2014-07-02T08:16:35.321134+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/rack/logger.rb:38:in `call_app'
2014-07-02T08:16:35.321138+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.5/lib/active_support/tagged_logging.rb:26:in `tagged'
2014-07-02T08:16:35.319901+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
2014-07-02T08:16:35.319899+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
2014-07-02T08:16:35.319898+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
2014-07-02T08:16:35.319925+00:00 app[web.1]:
2014-07-02T08:16:35.319889+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
2014-07-02T08:16:35.319924+00:00 app[web.1]:
2014-07-02T08:16:35.321141+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/rack/logger.rb:20:in `call'
2014-07-02T08:16:35.321161+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
2014-07-02T08:16:35.321140+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.5/lib/active_support/tagged_logging.rb:68:in `tagged'
2014-07-02T08:16:35.321130+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/"):
2014-07-02T08:16:35.321144+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
2014-07-02T08:16:35.321151+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/engine.rb:511:in `call'
2014-07-02T08:16:35.321149+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
2014-07-02T08:16:35.321131+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
2014-07-02T08:16:35.321158+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2014-07-02T08:16:35.321148+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/static.rb:64:in `call'
2014-07-02T08:16:35.321155+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
2014-07-02T08:16:35.321162+00:00 app[web.1]:
2014-07-02T08:16:35.321142+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2014-07-02T08:16:35.321154+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
2014-07-02T08:16:35.321152+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/application.rb:97:in `call'
2014-07-02T08:16:35.321156+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
2014-07-02T08:16:35.321159+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2014-07-02T08:16:35.321163+00:00 app[web.1]:
2014-07-02T08:16:35.764555+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=young-thicket-2043.herokuapp.com request_id=ca661424-73d7-4799-8ad7-5fed577fd9c2 fwd="192.122.131.37" dyno=web.1 connect=1ms service=52ms status=304 bytes=133
2014-07-02T08:16:40.905460+00:00 heroku[api]: Starting process with command `bundle exec rake db` by huicheese#gmail.com
2014-07-02T08:16:44.546386+00:00 heroku[run.7223]: State changed from starting to up
2014-07-02T08:16:44.833806+00:00 heroku[run.7223]: Awaiting client
2014-07-02T08:16:55.930802+00:00 heroku[api]: Starting process with command `bundle exec rake db:migrate` by huicheese#gmail.com
2014-07-02T08:16:59.934050+00:00 heroku[run.6502]: State changed from starting to up
2014-07-02T08:16:59.814001+00:00 heroku[run.6502]: Awaiting client
2014-07-02T08:17:16.236553+00:00 heroku[run.7223]: State changed from up to complete
2014-07-02T08:17:16.224283+00:00 heroku[run.7223]: Process exited with status 128
2014-07-02T08:17:14.840989+00:00 heroku[run.7223]: Error R13 (Attach error) -> Failed to attach to process
2014-07-02T08:17:31.040049+00:00 heroku[run.6502]: State changed from up to complete
2014-07-02T08:17:29.816567+00:00 heroku[run.6502]: Error R13 (Attach error) -> Failed to attach to process
2014-07-02T08:17:31.023583+00:00 heroku[run.6502]: Process exited with status 128
Can anyone shed some light on this?
If you look at your logs you can see
ActionController::RoutingError (No route matches [GET] "/")
Which basically means that you don't have any root route setup in your routes.rb. Inside your routes.rb add this line:
root 'pages#show'
By writing this you are setting your root route to Page Controllers show action

Apartment::SchemaNotFound when trying to deploy multi-tenancy Rails app on Heroku

I have been working on an app locally for a while now, and I've matched my development environment to that on Heroku as closely as I can.
The app is set up for multi-tenancy using Apartment (https://github.com/influitive/apartment), and designed to use subdomains to identify tenants. Both environments use postgres, and Apartment has been using schemas to manage the 'tanants' data.
This evening, I have attempted to push the code to Heroku (the same app before it became multi-tenancy worked beautifully), and no pages load, all give an error.
I've taken a look at the logs, and the most interesting line I can find is; Apartment::SchemaNotFound (One of the following schema(s) is invalid: heroku-app-name, "public"):
This certainly seems to be a peculiarity of Heroku, but I'm struggling for ideas on where to look next.
Any suggestions or help would be appreciated.
I've included all of the logs for reference;
2014-04-04T18:27:09.884367+00:00 app[web.1]: Apartment::SchemaNotFound (One of the following schema(s) is invalid: heroku-app-name, "public"):
2014-04-04T18:27:09.884368+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/apartment-0.24.3/lib/apartment/adapters/postgresql_adapter.rb:95:in `rescue in connect_to_new'
2014-04-04T18:27:09.884384+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
2014-04-04T18:27:09.884362+00:00 app[web.1]:
2014-04-04T18:27:09.884385+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
2014-04-04T18:27:09.884364+00:00 app[web.1]: I, [2014-04-04T18:27:09.879482 #2] INFO -- : Started GET "/favicon.ico" for 92.25.163.224 at 2014-04-04 18:27:09 +0000
2014-04-04T18:27:09.884388+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
2014-04-04T18:27:09.884389+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/flash.rb:241:in `call'
2014-04-04T18:27:09.884366+00:00 app[web.1]: F, [2014-04-04T18:27:09.884136 #2] FATAL -- :
2014-04-04T18:27:09.884370+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/apartment-0.24.3/lib/apartment/adapters/postgresql_adapter.rb:88:in `connect_to_new'
2014-04-04T18:27:09.884381+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/warden-1.2.3/lib/warden/manager.rb:34:in `catch'
2014-04-04T18:27:09.884371+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/apartment-0.24.3/lib/apartment/adapters/abstract_adapter.rb:100:in `switch'
2014-04-04T18:27:09.884383+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/warden-1.2.3/lib/warden/manager.rb:34:in `call'
2014-04-04T18:27:09.884396+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
2014-04-04T18:27:09.884372+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/apartment-0.24.3/lib/apartment/elevators/generic.rb:20:in `call'
2014-04-04T18:27:09.884387+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
2014-04-04T18:27:09.884398+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
2014-04-04T18:27:09.884403+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
2014-04-04T18:27:09.884391+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
2014-04-04T18:27:09.884392+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
2014-04-04T18:27:09.884399+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/callbacks.rb:373:in `_run__2212192162733263500__call__callbacks'
2014-04-04T18:27:09.884400+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/callbacks.rb:80:in `run_callbacks'
2014-04-04T18:27:09.884393+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/cookies.rb:486:in `call'
2014-04-04T18:27:09.884402+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2014-04-04T18:27:09.884406+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2014-04-04T18:27:09.884379+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/warden-1.2.3/lib/warden/manager.rb:35:in `block in call'
2014-04-04T18:27:09.884395+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/query_cache.rb:36:in `call'
2014-04-04T18:27:09.884409+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/rack/logger.rb:21:in `block in call'
2014-04-04T18:27:09.884407+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/rack/logger.rb:38:in `call_app'
2014-04-04T18:27:09.884410+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/tagged_logging.rb:67:in `block in tagged'
2014-04-04T18:27:09.884404+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
2014-04-04T18:27:09.884430+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/tagged_logging.rb:67:in `tagged'
2014-04-04T18:27:09.884431+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/rack/logger.rb:21:in `call'
2014-04-04T18:27:09.884432+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2014-04-04T18:27:09.884428+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/tagged_logging.rb:25:in `tagged'
2014-04-04T18:27:09.884435+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-04T18:27:09.884444+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/application.rb:97:in `call'
2014-04-04T18:27:09.884434+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-04T18:27:09.884437+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2014-04-04T18:27:09.884442+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/engine.rb:511:in `call'
2014-04-04T18:27:09.884445+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-04T18:27:09.884448+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-04T18:27:09.884446+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-04T18:27:09.884450+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2014-04-04T18:27:09.884451+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2014-04-04T18:27:09.884452+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Take a look at your apartment initializer and remove the subdomain elevator settings. i commented out everything related to elevator. since your app is probably on a heroku subdomain, the elevator setting will try to load that particular tenant from the db and will issue that error.
it worked fine for me after i commented
# Rails.application.config.middleware.use 'Apartment::Elevators::Subdomain'

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

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

Resources