Heroku Application Error Logs - ruby-on-rails

Heroku Application error
I don't understand why this will be happen.Can anyone tell me why this will be happening...?
Application Error
An error occurred in the application and your page could not be served. Please try again in a few moments.
If you are the application owner, check your logs for details.
Logs
2014-02-25T18:00:50.602268+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:148:in `tsort_each'
2014-02-25T18:00:50.602268+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.1/lib/rails/initializable.rb:54:in `run_initializers'
2014-02-25T18:00:50.602453+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.1/lib/rails/application.rb:215:in `initialize!'
2014-02-25T18:00:50.602453+00:00 app[web.1]: from /app/config.ru:in `<main>'
2014-02-25T18:00:50.602453+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:49:in `new_from_string'
2014-02-25T18:00:50.603265+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.1/lib/rails/commands/server.rb:75:in `start'
2014-02-25T18:00:50.603265+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.1/lib/rails/commands.rb:76:in `block in <top (required)>'
2014-02-25T18:00:50.603265+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.1/lib/rails/commands.rb:71:in `tap'
2014-02-25T18:00:50.603265+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.1/lib/rails/commands.rb:71:in `<top (required)>'
2014-02-25T18:00:50.629589+00:00 app[web.1]: => Booting WEBrick
2014-02-25T18:00:50.629589+00:00 app[web.1]: => Rails 4.0.1 application starting in production on http://0.0.0.0:5185
2014-02-25T18:00:50.629589+00:00 app[web.1]: => Run `rails server -h` for more startup options
2014-02-25T18:00:50.629589+00:00 app[web.1]: => Ctrl-C to shutdown server
2014-02-25T18:00:50.629589+00:00 app[web.1]: Exiting
2014-02-25T18:00:50.602013+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.1/lib/rails/application/finisher.rb:56:in `each'
2014-02-25T18:00:50.602013+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.1/lib/rails/application/finisher.rb:56:in `block in <module:Finisher>'
2014-02-25T18:00:50.602013+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.1/lib/rails/initializable.rb:30:in `instance_exec'
2014-02-25T18:00:50.602268+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.1/lib/rails/initializable.rb:55:in `block in run_initializers'
2014-02-25T18:00:50.602013+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.1/lib/rails/engine.rb:347:in `eager_load!'
2014-02-25T18:00:50.602453+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.1/lib/rails/railtie/configurable.rb:30:in `method_missing'
2014-02-25T18:00:50.602453+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in `instance_eval'
2014-02-25T18:00:50.603265+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:40:in `parse_file'
2014-02-25T18:00:50.602453+00:00 app[web.1]: from /app/config/environment.rb:5:in `<top (required)>'
2014-02-25T18:00:50.603265+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:199:in `app'
2014-02-25T18:00:50.603448+00:00 app[web.1]: from bin/rails:4:in `<main>'
2014-02-25T18:00:50.603265+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.1/lib/rails/commands/server.rb:48:in `app'
2014-02-25T18:00:50.603265+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:277:in `build_app_and_options_from_config'
2014-02-25T18:00:50.602268+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.1/lib/rails/initializable.rb:30:in `run'
2014-02-25T18:00:50.602453+00:00 app[web.1]: from /app/config.ru:in `new'
2014-02-25T18:00:50.602453+00:00 app[web.1]: from /app/config.ru:3:in `block in <main>'
2014-02-25T18:00:50.602453+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:49:in `eval'
2014-02-25T18:00:51.291322+00:00 heroku[web.1]: Process exited with status 1
2014-02-25T18:00:50.603265+00:00 app[web.1]: from bin/rails:4:in `require'
2014-02-25T18:00:50.603265+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:314:in `wrapped_app'
2014-02-25T18:00:50.602268+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:150:in `block in tsort_each'
2014-02-25T18:00:50.602453+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in `initialize'
2014-02-25T18:00:51.758808+00:00 heroku[web.1]: State changed from starting to crashed
2014-02-25T18:00:51.748009+00:00 heroku[web.1]: Process exited with status 1
2014-02-25T18:00:54.250856+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=calm-badlands-3360.herokuapp.com request_id=84c4a7e9-b3b9-4fac-980a-979ead018666 fwd="90.1.28.3" dyno= connect= service= status=503 bytes=
2014-02-25T18:00:55.024660+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=calm-badlands-3360.herokuapp.com request_id=f93d18e0-8750-4448-b223-da8b57597c29 fwd="90.1.28.3" dyno= connect= service= status=503 bytes=
2014-02-25T18:01:47.519017+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=calm-badlands-3360.herokuapp.com request_id=3bd62614-b098-472e-bb9e-886d6da1f7d1 fwd="90.1.28.3" dyno= connect= service= status=503 bytes=
2014-02-25T18:01:50.506532+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/posts host=calm-badlands-3360.herokuapp.com request_id=6ade44f7-cfdf-4f77-8f7e-4f4ca7a34ab0 fwd="90.1.28.3" dyno= connect= service= status=503
bytes=
2014-02-25T18:02:12.017450+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=calm-badlands-3360.herokuapp.com request_id=e34e7e51-3cf5-4f24-a256-3406ee448477 fwd="90.1.28.3" dyno= connect= service= status=503 bytes=
2014-02-25T18:01:46.882235+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/posts host=calm-badlands-3360.herokuapp.com request_id=84c252b7-d3a0-4db9-ba9b-8d9364a01b36 fwd="90.1.28.3" dyno= connect= service= status=503
bytes=
2014-02-25T18:06:45.846671+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=calm-badlands-3360.herokuapp.com request_id=0460b082-c362-4582-bc2f-de0ab4da5969 fwd="90.1.28.3" dyno= connect= service= status=503 bytes=
2014-02-25T18:06:46.507092+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=calm-badlands-3360.herokuapp.com request_id=8ed0ec0e-ab22-48ca-a984-943cb8daa12a fwd="90.1.28.3" dyno= connect= service= status=503 bytes=
2014-02-25T18:09:27+00:00 heroku[slug-compiler]: Slug compilation started
2014-02-25T18:09:53.647138+00:00 heroku[api]: Deploy 16cb85e by cyril.declerck#gmail.com
2014-02-25T18:09:53.647227+00:00 heroku[api]: Release v7 created by cyril.declerck#gmail.com
2014-02-25T18:09:53+00:00 heroku[slug-compiler]: Slug compilation finished
2014-02-25T18:09:55.984536+00:00 heroku[web.1]: State changed from crashed to starting
2014-02-25T18:09:59.466185+00:00 heroku[web.1]: Starting process with command `bin/rails server -p 34598 -e production`
2014-02-25T18:10:03.208591+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.1/lib/rails/engine.rb:462:in `eager_load!'
2014-02-25T18:10:03.208591+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.1/lib/rails/application/finisher.rb:56:in `block in <module:Finisher>'
2014-02-25T18:10:03.208796+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.1/lib/rails/initializable.rb:55:in `block in run_initializers'
2014-02-25T18:10:03.208591+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.1/lib/rails/engine.rb:464:in `each'
2014-02-25T18:10:03.208796+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.1/lib/rails/initializable.rb:30:in `run'
2014-02-25T18:10:03.208591+00:00 app[web.1]: /app/app/uploaders/avatar_uploader.rb:3:in `<top (required)>': uninitialized constant CarrierWave (NameError)
2014-02-25T18:10:03.208591+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.1/lib/rails/engine.rb:465:in `block (2 levels) in eager_load!'
2014-02-25T18:10:03.208591+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.1/lib/rails/engine.rb:464:in `block in eager_load!'
2014-02-25T18:10:03.208591+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.1/lib/rails/engine.rb:462:in `each'
2014-02-25T18:10:03.208796+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:180:in `each_strongly_connected_component'
2014-02-25T18:10:03.209000+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.1/lib/rails/application.rb:215:in `initialize!'
2014-02-25T18:10:03.208591+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.1/lib/rails/application/finisher.rb:56:in `each'
2014-02-25T18:10:03.209000+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in `instance_eval'
2014-02-25T18:10:03.208591+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.1/lib/rails/engine.rb:347:in `eager_load!'
2014-02-25T18:10:03.209000+00:00 app[web.1]: from /app/config.ru:3:in `block in <main>'
2014-02-25T18:10:03.209000+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.1/lib/rails/initializable.rb:54:in `run_initializers'
2014-02-25T18:10:03.209553+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:277:in `build_app_and_options_from_config'
2014-02-25T18:10:03.209553+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:49:in `new_from_string'
2014-02-25T18:10:03.208796+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:180:in `each'
2014-02-25T18:10:03.208796+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:183:in `block (2 levels) in each_strongly_connected_component'
2014-02-25T18:10:03.208796+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:150:in `block in tsort_each'
2014-02-25T18:10:03.208796+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:148:in `tsort_each'
2014-02-25T18:10:03.209553+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.1/lib/rails/commands/server.rb:48:in `app'
2014-02-25T18:10:03.208591+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.1/lib/rails/initializable.rb:30:in `instance_exec'
2014-02-25T18:10:03.209000+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.1/lib/rails/railtie/configurable.rb:30:in `method_missing'
2014-02-25T18:10:03.209000+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in `initialize'
2014-02-25T18:10:03.209553+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:40:in `parse_file'
2014-02-25T18:10:03.209553+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:314:in `wrapped_app'
2014-02-25T18:10:03.208796+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:182:in `block in each_strongly_connected_component'
2014-02-25T18:10:03.208796+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:219:in `each_strongly_connected_component_from'
2014-02-25T18:10:03.209000+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:49:in `eval'
2014-02-25T18:10:03.209553+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.1/lib/rails/commands.rb:76:in `block in <top (required)>'
2014-02-25T18:10:03.209553+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.1/lib/rails/commands.rb:71:in `tap'
2014-02-25T18:10:03.209000+00:00 app[web.1]: from /app/config.ru:in `<main>'
2014-02-25T18:10:03.209553+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:199:in `app'
2014-02-25T18:10:03.209729+00:00 app[web.1]: from bin/rails:4:in `require'
2014-02-25T18:10:03.209000+00:00 app[web.1]: from /app/config/environment.rb:5:in `<top (required)>'
2014-02-25T18:10:03.209553+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.1/lib/rails/commands.rb:71:in `<top (required)>'
2014-02-25T18:10:03.209729+00:00 app[web.1]: from bin/rails:4:in `<main>'
2014-02-25T18:10:03.209553+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.1/lib/rails/commands/server.rb:75:in `start'
2014-02-25T18:10:03.209000+00:00 app[web.1]: from /app/config.ru:in `new'
2014-02-25T18:10:03.240675+00:00 app[web.1]: => Booting WEBrick
2014-02-25T18:10:03.240675+00:00 app[web.1]: => Rails 4.0.1 application starting in production on http://0.0.0.0:34598
2014-02-25T18:10:03.240675+00:00 app[web.1]: => Run `rails server -h` for more startup options
2014-02-25T18:10:03.240675+00:00 app[web.1]: => Ctrl-C to shutdown server
2014-02-25T18:10:03.240675+00:00 app[web.1]: Exiting

You are getting an error because your application cannot locate the CarrierWave module.
Please make sure that you have CarrierWave included in your Gemfile.
gem 'carrierwave'
UPDATE:
Regarding your error with the posts relation, you will have to migrate the Heroku database using the following command:
heroku run rake db:migrate

Related

Need help dissecting heroku logs - app works locally but consistently crashes/won't open with heroku

Copy and paste heroku logs --tail here, it didn't paste well-formatted... This is my first real Rails app I'm trying to deploy, and Heroku isn't having it. Really not sure where to go from here, I would appreciate help understanding the logs to fix this. Thank you!
2022-06-24T13:50:17.311515+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/rack-2.2.3.1/lib/rack/builder.rb:116:in `eval'
2022-06-24T13:50:17.311517+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/rack-2.2.3.1/lib/rack/builder.rb:116:in `new_from_string'
2022-06-24T13:50:17.311524+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/rack-2.2.3.1/lib/rack/builder.rb:105:in `load_file'
2022-06-24T13:50:17.311524+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/rack-2.2.3.1/lib/rack/builder.rb:66:in `parse_file'
2022-06-24T13:50:17.311526+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/rack-2.2.3.1/lib/rack/server.rb:349:in `build_app_and_options_from_config'
2022-06-24T13:50:17.311533+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/rack-2.2.3.1/lib/rack/server.rb:249:in `app'
2022-06-24T13:50:17.311533+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/rack-2.2.3.1/lib/rack/server.rb:422:in `wrapped_app'
2022-06-24T13:50:17.311540+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/rack-2.2.3.1/lib/rack/server.rb:312:in `block in start'
2022-06-24T13:50:17.311540+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/rack-2.2.3.1/lib/rack/server.rb:379:in `handle_profiling'
2022-06-24T13:50:17.311541+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/rack-2.2.3.1/lib/rack/server.rb:311:in `start'
2022-06-24T13:50:17.311548+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3/lib/rails/commands/server/server_command.rb:38:in `start'
2022-06-24T13:50:17.311548+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3/lib/rails/commands/server/server_command.rb:143:in `block in perform'
2022-06-24T13:50:17.311551+00:00 app[web.1]: from <internal:kernel>:90:in `tap'
2022-06-24T13:50:17.311557+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3/lib/rails/commands/server/server_command.rb:134:in `perform'
2022-06-24T13:50:17.311557+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/thor-1.2.1/lib/thor/command.rb:27:in `run'
2022-06-24T13:50:17.311564+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command'
2022-06-24T13:50:17.311564+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch'
2022-06-24T13:50:17.311566+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3/lib/rails/command/base.rb:87:in `perform'
2022-06-24T13:50:17.311572+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3/lib/rails/command.rb:48:in `invoke'
2022-06-24T13:50:17.311572+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3/lib/rails/commands.rb:18:in `<main>'
2022-06-24T13:50:17.311579+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
2022-06-24T13:50:17.311580+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
2022-06-24T13:50:17.311581+00:00 app[web.1]: from bin/rails:4:in `<main>'
2022-06-24T13:50:17.431963+00:00 heroku[web.1]: Process exited with status 1
2022-06-24T13:50:17.477847+00:00 heroku[web.1]: State changed from starting to crashed
2022-06-24T13:50:17.499787+00:00 heroku[web.1]: State changed from crashed to starting
2022-06-24T13:50:20.445347+00:00 heroku[web.1]: Starting process with command `bin/rails server -p ${PORT:-5000} -e production`
2022-06-24T13:50:22.925680+00:00 app[web.1]: => Booting Puma
2022-06-24T13:50:22.925695+00:00 app[web.1]: => Rails 7.0.3 application starting in production
2022-06-24T13:50:22.925695+00:00 app[web.1]: => Run `bin/rails server --help` for more startup options
2022-06-24T13:50:23.229561+00:00 app[web.1]: Exiting
2022-06-24T13:50:23.229722+00:00 app[web.1]: /app/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require': /app/app/controllers/application_controller.rb:6: syntax error, unexpected `end', expecting end-of-input (SyntaxError)
2022-06-24T13:50:23.229724+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
2022-06-24T13:50:23.229734+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/zeitwerk-2.6.0/lib/zeitwerk/kernel.rb:27:in `require'
2022-06-24T13:50:23.229736+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/zeitwerk-2.6.0/lib/zeitwerk/loader/helpers.rb:127:in `const_get'
2022-06-24T13:50:23.229746+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/zeitwerk-2.6.0/lib/zeitwerk/loader/helpers.rb:127:in `cget'
2022-06-24T13:50:23.229748+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/zeitwerk-2.6.0/lib/zeitwerk/loader.rb:239:in `block (2 levels) in eager_load'
2022-06-24T13:50:23.229757+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/zeitwerk-2.6.0/lib/zeitwerk/loader/helpers.rb:41:in `block in ls'
2022-06-24T13:50:23.229759+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/zeitwerk-2.6.0/lib/zeitwerk/loader/helpers.rb:27:in `each'
2022-06-24T13:50:23.229768+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/zeitwerk-2.6.0/lib/zeitwerk/loader/helpers.rb:27:in `ls'
2022-06-24T13:50:23.229771+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/zeitwerk-2.6.0/lib/zeitwerk/loader.rb:234:in `block in eager_load'
2022-06-24T13:50:23.229779+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/zeitwerk-2.6.0/lib/zeitwerk/loader.rb:219:in `synchronize'
2022-06-24T13:50:23.229781+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/zeitwerk-2.6.0/lib/zeitwerk/loader.rb:219:in `eager_load'
2022-06-24T13:50:23.229790+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/zeitwerk-2.6.0/lib/zeitwerk/loader.rb:318:in `each'
2022-06-24T13:50:23.229792+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/zeitwerk-2.6.0/lib/zeitwerk/loader.rb:318:in `eager_load_all'
2022-06-24T13:50:23.229801+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3/lib/rails/application/finisher.rb:74:in `block in <module:Finisher>'
2022-06-24T13:50:23.229803+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3/lib/rails/initializable.rb:32:in `instance_exec'
2022-06-24T13:50:23.229812+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3/lib/rails/initializable.rb:32:in `run'
2022-06-24T13:50:23.229814+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3/lib/rails/initializable.rb:61:in `block in run_initializers'
2022-06-24T13:50:23.229824+00:00 app[web.1]: from /app/vendor/ruby-3.1.2/lib/ruby/3.1.0/tsort.rb:228:in `block in tsort_each'
2022-06-24T13:50:23.229826+00:00 app[web.1]: from /app/vendor/ruby-3.1.2/lib/ruby/3.1.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
2022-06-24T13:50:23.229835+00:00 app[web.1]: from /app/vendor/ruby-3.1.2/lib/ruby/3.1.0/tsort.rb:431:in `each_strongly_connected_component_from'
2022-06-24T13:50:23.229837+00:00 app[web.1]: from /app/vendor/ruby-3.1.2/lib/ruby/3.1.0/tsort.rb:349:in `block in each_strongly_connected_component'
2022-06-24T13:50:23.229846+00:00 app[web.1]: from /app/vendor/ruby-3.1.2/lib/ruby/3.1.0/tsort.rb:347:in `each'
2022-06-24T13:50:23.229849+00:00 app[web.1]: from /app/vendor/ruby-3.1.2/lib/ruby/3.1.0/tsort.rb:347:in `call'
2022-06-24T13:50:23.229850+00:00 app[web.1]: from /app/vendor/ruby-3.1.2/lib/ruby/3.1.0/tsort.rb:347:in `each_strongly_connected_component'
2022-06-24T13:50:23.229861+00:00 app[web.1]: from /app/vendor/ruby-3.1.2/lib/ruby/3.1.0/tsort.rb:226:in `tsort_each'
2022-06-24T13:50:23.229863+00:00 app[web.1]: from /app/vendor/ruby-3.1.2/lib/ruby/3.1.0/tsort.rb:205:in `tsort_each'
2022-06-24T13:50:23.229873+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3/lib/rails/initializable.rb:60:in `run_initializers'
2022-06-24T13:50:23.229875+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3/lib/rails/application.rb:372:in `initialize!'
2022-06-24T13:50:23.229893+00:00 app[web.1]: from /app/config/environment.rb:5:in `<main>'
2022-06-24T13:50:23.229895+00:00 app[web.1]: from config.ru:3:in `require_relative'
2022-06-24T13:50:23.229895+00:00 app[web.1]: from config.ru:3:in `block in <main>'
2022-06-24T13:50:23.229895+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/rack-2.2.3.1/lib/rack/builder.rb:116:in `eval'
2022-06-24T13:50:23.229897+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/rack-2.2.3.1/lib/rack/builder.rb:116:in `new_from_string'
2022-06-24T13:50:23.229899+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/rack-2.2.3.1/lib/rack/builder.rb:105:in `load_file'
2022-06-24T13:50:23.229909+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/rack-2.2.3.1/lib/rack/builder.rb:66:in `parse_file'
2022-06-24T13:50:23.229911+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/rack-2.2.3.1/lib/rack/server.rb:349:in `build_app_and_options_from_config'
2022-06-24T13:50:23.229920+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/rack-2.2.3.1/lib/rack/server.rb:249:in `app'
2022-06-24T13:50:23.229922+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/rack-2.2.3.1/lib/rack/server.rb:422:in `wrapped_app'
2022-06-24T13:50:23.229931+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/rack-2.2.3.1/lib/rack/server.rb:312:in `block in start'
2022-06-24T13:50:23.229933+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/rack-2.2.3.1/lib/rack/server.rb:379:in `handle_profiling'
2022-06-24T13:50:23.229941+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/rack-2.2.3.1/lib/rack/server.rb:311:in `start'
2022-06-24T13:50:23.229944+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3/lib/rails/commands/server/server_command.rb:38:in `start'
2022-06-24T13:50:23.229952+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3/lib/rails/commands/server/server_command.rb:143:in `block in perform'
2022-06-24T13:50:23.229954+00:00 app[web.1]: from <internal:kernel>:90:in `tap'
2022-06-24T13:50:23.229963+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3/lib/rails/commands/server/server_command.rb:134:in `perform'
2022-06-24T13:50:23.229965+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/thor-1.2.1/lib/thor/command.rb:27:in `run'
2022-06-24T13:50:23.229975+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command'
2022-06-24T13:50:23.229977+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch'
2022-06-24T13:50:23.229987+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3/lib/rails/command/base.rb:87:in `perform'
2022-06-24T13:50:23.229989+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3/lib/rails/command.rb:48:in `invoke'
2022-06-24T13:50:23.229998+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3/lib/rails/commands.rb:18:in `<main>'
2022-06-24T13:50:23.230000+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
2022-06-24T13:50:23.230009+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
2022-06-24T13:50:23.230018+00:00 app[web.1]: from bin/rails:4:in `<main>'
2022-06-24T13:50:23.380834+00:00 heroku[web.1]: Process exited with status 1
2022-06-24T13:50:23.422776+00:00 heroku[web.1]: State changed from starting to crashed
2022-06-24T13:50:24.512528+00:00 app[api]: Starting process with command `bundle exec rake db:migrate` by user jack282323#gmail.com
2022-06-24T13:50:28.030796+00:00 heroku[run.5346]: State changed from starting to up
2022-06-24T13:50:28.225466+00:00 heroku[run.5346]: Awaiting client
2022-06-24T13:50:28.246459+00:00 heroku[run.5346]: Starting process with command `bundle exec rake db:migrate`
2022-06-24T13:50:36.326947+00:00 heroku[run.5346]: Process exited with status 0
2022-06-24T13:50:36.457648+00:00 heroku[run.5346]: State changed from up to complete
2022-06-24T13:51:11.983953+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=whispering-waters-61972.herokuapp.com request_id=f6d16d71-e463-46ee-8354-8bb946d3092d fwd="179.49.42.237" dyno= connect= service= status=503 bytes= protocol=https
2022-06-24T13:51:12.799063+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=whispering-waters-61972.herokuapp.com request_id=c5a2d8fb-2d28-4c97-921f-23fa64cc9ee2 fwd="179.49.42.237" dyno= connect= service= status=503 bytes= protocol=https
2022-06-24T13:52:03.935764+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=whispering-waters-61972.herokuapp.com request_id=e949196d-1ff0-4cab-9d7f-d2a459c750aa fwd="179.49.42.237" dyno= connect= service= status=503 bytes= protocol=https
2022-06-24T13:52:04.279241+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=whispering-waters-61972.herokuapp.com request_id=c7d2fc96-312e-4c7e-aff6-506cab45ebc4 fwd="179.49.42.237" dyno= connect= service= status=503 bytes= protocol=https
2022-06-24T13:52:06.802759+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=whispering-waters-61972.herokuapp.com request_id=45f7f405-993a-496c-be01-d12c38c7a255 fwd="179.49.42.237" dyno= connect= service= status=503 bytes= protocol=https
2022-06-24T13:52:07.019043+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=whispering-waters-61972.herokuapp.com request_id=8d2ad5bc-0730-4421-8c36-78d949572b16 fwd="179.49.42.237" dyno= connect= service= status=503 bytes= protocol=https```
This line in your error log is most alarming to me:
[...] `require': /app/app/controllers/application_controller.rb:6: syntax error, unexpected `end', expecting end-of-input (SyntaxError)
What is the contents of app/controllers/application_controller.rb? It looks like there's a syntax error, which is causing the application to fail to load.
I suspect you put end twice, by mistake?
If you run the application locally (rails server, or rails console) then I expect you'd also see this same error.

Deploying Ruby on Rails to Heroku failed

https://blog-app-tz.herokuapp.com/ is the link.
Below is the log:
2022-04-30T07:28:55.000000+00:00 app[api]: Build started by user isakawilly10#gmail.com
2022-04-30T07:29:14.481763+00:00 app[api]: Release v8 created by user isakawilly10#gmail.com
2022-04-30T07:29:14.481763+00:00 app[api]: Deploy d73ac101 by user isakawilly10#gmail.com
2022-04-30T07:29:15.013908+00:00 heroku[web.1]: State changed from crashed to starting
2022-04-30T07:29:17.000000+00:00 app[api]: Build succeeded
2022-04-30T07:29:17.278613+00:00 heroku[web.1]: Starting process with command `bin/rails server -p ${PORT:-5000} -e production`
2022-04-30T07:29:20.581903+00:00 app[web.1]: => Booting Puma
2022-04-30T07:29:20.581917+00:00 app[web.1]: => Rails 7.0.2.4 application starting in production
2022-04-30T07:29:20.581917+00:00 app[web.1]: => Run `bin/rails server --help` for more startup options
2022-04-30T07:29:21.307873+00:00 app[web.1]: Exiting
2022-04-30T07:29:21.308147+00:00 app[web.1]: /app/app/models/ability.rb:2:in `<class:Ability>': uninitialized constant Ability::CanCan (NameError)
2022-04-30T07:29:21.308149+00:00 app[web.1]: from /app/app/models/ability.rb:1:in `<main>'
2022-04-30T07:29:21.308157+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.0.0/gems/bootsnap-1.11.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
2022-04-30T07:29:21.308159+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.0.0/gems/bootsnap-1.11.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
2022-04-30T07:29:21.308160+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.0.0/gems/zeitwerk-2.5.4/lib/zeitwerk/kernel.rb:27:in `require'
2022-04-30T07:29:21.308167+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.0.0/gems/zeitwerk-2.5.4/lib/zeitwerk/loader/helpers.rb:95:in `const_get'
2022-04-30T07:29:21.308169+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.0.0/gems/zeitwerk-2.5.4/lib/zeitwerk/loader/helpers.rb:95:in `cget'
2022-04-30T07:29:21.308171+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.0.0/gems/zeitwerk-2.5.4/lib/zeitwerk/loader.rb:237:in `block (2 levels) in eager_load'
2022-04-30T07:29:21.308180+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.0.0/gems/zeitwerk-2.5.4/lib/zeitwerk/loader/helpers.rb:26:in `block in ls'
2022-04-30T07:29:21.308180+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.0.0/gems/zeitwerk-2.5.4/lib/zeitwerk/loader/helpers.rb:18:in `each_child'
2022-04-30T07:29:21.308182+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.0.0/gems/zeitwerk-2.5.4/lib/zeitwerk/loader/helpers.rb:18:in `ls'
2022-04-30T07:29:21.308190+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.0.0/gems/zeitwerk-2.5.4/lib/zeitwerk/loader.rb:232:in `block in eager_load'
2022-04-30T07:29:21.308191+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.0.0/gems/zeitwerk-2.5.4/lib/zeitwerk/loader.rb:217:in `synchronize'
2022-04-30T07:29:21.308193+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.0.0/gems/zeitwerk-2.5.4/lib/zeitwerk/loader.rb:217:in `eager_load'
2022-04-30T07:29:21.308200+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.0.0/gems/zeitwerk-2.5.4/lib/zeitwerk/loader.rb:317:in `each'
2022-04-30T07:29:21.308202+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.0.0/gems/zeitwerk-2.5.4/lib/zeitwerk/loader.rb:317:in `eager_load_all'
2022-04-30T07:29:21.308203+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.0.0/gems/railties-7.0.2.4/lib/rails/application/finisher.rb:78:in `block in <module:Finisher>'
2022-04-30T07:29:21.308211+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.0.0/gems/railties-7.0.2.4/lib/rails/initializable.rb:32:in `instance_exec'
2022-04-30T07:29:21.308214+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.0.0/gems/railties-7.0.2.4/lib/rails/initializable.rb:32:in `run'
2022-04-30T07:29:21.308216+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.0.0/gems/railties-7.0.2.4/lib/rails/initializable.rb:61:in `block in run_initializers'
2022-04-30T07:29:21.308218+00:00 app[web.1]: from /app/vendor/ruby-3.0.3/lib/ruby/3.0.0/tsort.rb:228:in `block in tsort_each'
2022-04-30T07:29:21.308219+00:00 app[web.1]: from /app/vendor/ruby-3.0.3/lib/ruby/3.0.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
2022-04-30T07:29:21.308227+00:00 app[web.1]: from /app/vendor/ruby-3.0.3/lib/ruby/3.0.0/tsort.rb:431:in `each_strongly_connected_component_from'
2022-04-30T07:29:21.308229+00:00 app[web.1]: from /app/vendor/ruby-3.0.3/lib/ruby/3.0.0/tsort.rb:349:in `block in each_strongly_connected_component'
2022-04-30T07:29:21.308230+00:00 app[web.1]: from /app/vendor/ruby-3.0.3/lib/ruby/3.0.0/tsort.rb:347:in `each'
2022-04-30T07:29:21.308238+00:00 app[web.1]: from /app/vendor/ruby-3.0.3/lib/ruby/3.0.0/tsort.rb:347:in `call'
2022-04-30T07:29:21.308239+00:00 app[web.1]: from /app/vendor/ruby-3.0.3/lib/ruby/3.0.0/tsort.rb:347:in `each_strongly_connected_component'
2022-04-30T07:29:21.308241+00:00 app[web.1]: from /app/vendor/ruby-3.0.3/lib/ruby/3.0.0/tsort.rb:226:in `tsort_each'
2022-04-30T07:29:21.308249+00:00 app[web.1]: from /app/vendor/ruby-3.0.3/lib/ruby/3.0.0/tsort.rb:205:in `tsort_each'
2022-04-30T07:29:21.308251+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.0.0/gems/railties-7.0.2.4/lib/rails/initializable.rb:60:in `run_initializers'
2022-04-30T07:29:21.308253+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.0.0/gems/railties-7.0.2.4/lib/rails/application.rb:372:in `initialize!'
2022-04-30T07:29:21.308255+00:00 app[web.1]: from /app/config/environment.rb:5:in `<main>'
2022-04-30T07:29:21.308257+00:00 app[web.1]: from config.ru:3:in `require_relative'
2022-04-30T07:29:21.308265+00:00 app[web.1]: from config.ru:3:in `block in <main>'
2022-04-30T07:29:21.308266+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.0.0/gems/rack-2.2.3/lib/rack/builder.rb:116:in `eval'
2022-04-30T07:29:21.308267+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.0.0/gems/rack-2.2.3/lib/rack/builder.rb:116:in `new_from_string'
2022-04-30T07:29:21.308275+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.0.0/gems/rack-2.2.3/lib/rack/builder.rb:105:in `load_file'
2022-04-30T07:29:21.308277+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.0.0/gems/rack-2.2.3/lib/rack/builder.rb:66:in `parse_file'
2022-04-30T07:29:21.308278+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.0.0/gems/rack-2.2.3/lib/rack/server.rb:349:in `build_app_and_options_from_config'
2022-04-30T07:29:21.308286+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.0.0/gems/rack-2.2.3/lib/rack/server.rb:249:in `app'
2022-04-30T07:29:21.308287+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.0.0/gems/rack-2.2.3/lib/rack/server.rb:422:in `wrapped_app'
2022-04-30T07:29:21.308295+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.0.0/gems/rack-2.2.3/lib/rack/server.rb:312:in `block in start'
2022-04-30T07:29:21.308296+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.0.0/gems/rack-2.2.3/lib/rack/server.rb:379:in `handle_profiling'
2022-04-30T07:29:21.308298+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.0.0/gems/rack-2.2.3/lib/rack/server.rb:311:in `start'
2022-04-30T07:29:21.308305+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.0.0/gems/railties-7.0.2.4/lib/rails/commands/server/server_command.rb:38:in `start'
2022-04-30T07:29:21.308307+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.0.0/gems/railties-7.0.2.4/lib/rails/commands/server/server_command.rb:143:in `block in perform'
2022-04-30T07:29:21.308308+00:00 app[web.1]: from <internal:kernel>:90:in `tap'
2022-04-30T07:29:21.308316+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.0.0/gems/railties-7.0.2.4/lib/rails/commands/server/server_command.rb:134:in `perform'
2022-04-30T07:29:21.308317+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.0.0/gems/thor-1.2.1/lib/thor/command.rb:27:in `run'
2022-04-30T07:29:21.308325+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.0.0/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command'
2022-04-30T07:29:21.308327+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.0.0/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch'
2022-04-30T07:29:21.308329+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.0.0/gems/railties-7.0.2.4/lib/rails/command/base.rb:87:in `perform'
2022-04-30T07:29:21.308337+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.0.0/gems/railties-7.0.2.4/lib/rails/command.rb:48:in `invoke'
2022-04-30T07:29:21.308339+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.0.0/gems/railties-7.0.2.4/lib/rails/commands.rb:18:in `<main>'
2022-04-30T07:29:21.308340+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.0.0/gems/bootsnap-1.11.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
2022-04-30T07:29:21.308348+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.0.0/gems/bootsnap-1.11.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
2022-04-30T07:29:21.308350+00:00 app[web.1]: from bin/rails:4:in `<main>'
2022-04-30T07:29:21.426297+00:00 heroku[web.1]: Process exited with status 1
2022-04-30T07:29:21.476815+00:00 heroku[web.1]: State changed from starting to crashed
2022-04-30T07:29:53.726773+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=blog-app-tz.herokuapp.com request_id=7a946f44-0183-4f23-a1c2-9fada9f71ac3 fwd="197.186.9.190" dyno= connect= service= status=503 bytes= protocol=https
2022-04-30T07:29:54.848484+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=blog-app-tz.herokuapp.com request_id=1728ec85-d515-40f2-9ebd-91da170abd6d fwd="197.186.9.190" dyno= connect= service= status=503 bytes= protocol=https
2022-04-30T07:51:21.840318+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=blog-app-tz.herokuapp.com request_id=5ccb65eb-5b3c-48f6-805c-165c5e4f39e9 fwd="197.186.6.50" dyno= connect= service= status=503 bytes= protocol=https
2022-04-30T07:51:23.057641+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=blog-app-tz.herokuapp.com request_id=cba81eae-10af-489c-81f0-17511d4ae0fd fwd="197.186.6.50" dyno= connect= service= status=503 bytes= protocol=https

Heroku Crashing

I've been through the forums and I cant figure out why my heroku app crashes on start. I click "Open App" and it goes immediately to "Application Error, Check Logs" screen. Any help is greatly appreciated.
This is my log file:
2018-02-26T09:24:49.347577+00:00 heroku[web.1]: Process exited with status 1
2018-02-26T09:24:49.234581+00:00 app[web.1]: /app/app/models/ability.rb:2:in `<class:Ability>': uninitialized constant Ability::CanCan (NameError)
2018-02-26T09:24:49.234642+00:00 app[web.1]: from /app/app/models/ability.rb:1:in `<top (required)>'
2018-02-26T09:24:49.234663+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.4/lib/active_support/dependencies/interlock.rb:12:in `block in loading'
2018-02-26T09:24:49.234669+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.4/lib/active_support/concurrency/share_lock.rb:150:in `exclusive'
2018-02-26T09:24:49.234670+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.4/lib/active_support/dependencies/interlock.rb:11:in `loading'
2018-02-26T09:24:49.234672+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.4/lib/rails/engine.rb:476:in `block (2 levels) in eager_load!'
2018-02-26T09:24:49.234678+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.4/lib/rails/engine.rb:475:in `each'
2018-02-26T09:24:49.234679+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.4/lib/rails/engine.rb:475:in `block in eager_load!'
2018-02-26T09:24:49.234681+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.4/lib/rails/engine.rb:473:in `each'
2018-02-26T09:24:49.234682+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.4/lib/rails/engine.rb:473:in `eager_load!'
2018-02-26T09:24:49.234683+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.4/lib/rails/engine.rb:354:in `eager_load!'
2018-02-26T09:24:49.234685+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.4/lib/rails/application/finisher.rb:59:in `each'
2018-02-26T09:24:49.234686+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.4/lib/rails/application/finisher.rb:59:in `block in <module:Finisher>'
2018-02-26T09:24:49.234689+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.4/lib/rails/initializable.rb:30:in `run'
2018-02-26T09:24:49.234688+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.4/lib/rails/initializable.rb:30:in `instance_exec'
2018-02-26T09:24:49.234690+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.4/lib/rails/initializable.rb:55:in `block in run_initializers'
2018-02-26T09:24:49.234692+00:00 app[web.1]: from /app/vendor/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:228:in `block in tsort_each'
2018-02-26T09:24:49.234693+00:00 app[web.1]: from /app/vendor/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
2018-02-26T09:24:49.234695+00:00 app[web.1]: from /app/vendor/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:431:in `each_strongly_connected_component_from'
2018-02-26T09:24:49.234696+00:00 app[web.1]: from /app/vendor/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:349:in `block in each_strongly_connected_component'
2018-02-26T09:24:49.234702+00:00 app[web.1]: from /app/vendor/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:347:in `each'
2018-02-26T09:24:49.234704+00:00 app[web.1]: from /app/vendor/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:347:in `call'
2018-02-26T09:24:49.234705+00:00 app[web.1]: from /app/vendor/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:347:in `each_strongly_connected_component'
2018-02-26T09:24:49.234707+00:00 app[web.1]: from /app/vendor/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:226:in `tsort_each'
2018-02-26T09:24:49.234708+00:00 app[web.1]: from /app/vendor/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:205:in `tsort_each'
2018-02-26T09:24:49.234709+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.4/lib/rails/initializable.rb:54:in `run_initializers'
2018-02-26T09:24:49.234729+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.4/lib/rails/application.rb:352:in `initialize!'
2018-02-26T09:24:49.234731+00:00 app[web.1]: from /app/config/environment.rb:5:in `<top (required)>'
2018-02-26T09:24:49.234737+00:00 app[web.1]: from /app/config.ru:3:in `require_relative'
2018-02-26T09:24:49.234739+00:00 app[web.1]: from /app/config.ru:3:in `block in <main>'
2018-02-26T09:24:49.234741+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/builder.rb:55:in `instance_eval'
2018-02-26T09:24:49.234742+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/builder.rb:55:in `initialize'
2018-02-26T09:24:49.234748+00:00 app[web.1]: from /app/config.ru:in `new'
2018-02-26T09:24:49.234749+00:00 app[web.1]: from /app/config.ru:in `<main>'
2018-02-26T09:24:49.234750+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/builder.rb:49:in `eval'
2018-02-26T09:24:49.234755+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/server.rb:319:in `build_app_and_options_from_config'
2018-02-26T09:24:49.234753+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/builder.rb:40:in `parse_file'
2018-02-26T09:24:49.234752+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/builder.rb:49:in `new_from_string'
2018-02-26T09:24:49.234756+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/server.rb:219:in `app'
2018-02-26T09:24:49.234758+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.4/lib/rails/commands/server.rb:84:in `app'
2018-02-26T09:24:49.234759+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/server.rb:354:in `wrapped_app'
2018-02-26T09:24:49.234761+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/server.rb:283:in `start'
2018-02-26T09:24:49.234762+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.4/lib/rails/commands/server.rb:104:in `start'
2018-02-26T09:24:49.234764+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.4/lib/rails/commands/commands_tasks.rb:90:in `block in server'
2018-02-26T09:24:49.234765+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.4/lib/rails/commands/commands_tasks.rb:85:in `tap'
2018-02-26T09:24:49.234766+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.4/lib/rails/commands/commands_tasks.rb:85:in `server'
2018-02-26T09:24:49.234768+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.4/lib/rails/commands/commands_tasks.rb:49:in `run_command!'
2018-02-26T09:24:49.234769+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.4/lib/rails/commands.rb:18:in `<top (required)>'
2018-02-26T09:24:49.234771+00:00 app[web.1]: from bin/rails:9:in `require'
2018-02-26T09:24:49.234772+00:00 app[web.1]: from bin/rails:9:in `<main>'
2018-02-26T09:24:49.243493+00:00 app[web.1]: => Booting Puma
2018-02-26T09:24:49.243502+00:00 app[web.1]: => Rails 5.0.4 application starting in production on http://0.0.0.0:15755
2018-02-26T09:24:49.243504+00:00 app[web.1]: => Run `rails server -h` for more startup options
2018-02-26T09:24:49.243506+00:00 app[web.1]: Exiting
2018-02-26T09:24:49.411607+00:00 heroku[web.1]: State changed from starting to crashed
2018-02-26T14:17:21.837329+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=code4discounts.herokuapp.com request_id=ee673e8b-04ee-4aae-ad93-131690bf6a71 fwd="73.15.233.129" dyno= connect= service= status=503 bytes= protocol=https
2018-02-26T14:17:23.636292+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=code4discounts.herokuapp.com request_id=54e1ec7d-ec3d-4a84-bf67-b3ff4361bf7f fwd="73.15.233.129" dyno= connect= service= status=503 bytes= protocol=https
2018-02-26T14:28:34.892704+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=code4discounts.herokuapp.com request_id=6a52d8cb-4373-4203-b1a5-79191ad97536 fwd="73.15.233.129" dyno= connect= service= status=503 bytes= protocol=https
2018-02-26T14:28:36.733388+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=code4discounts.herokuapp.com request_id=b8f831ee-88ca-4c65-8c1d-b9929caa72cf fwd="73.15.233.129" dyno= connect= service= status=503 bytes= protocol=https
Long shot, but this happened to me in early days on Heroku.
I'm guessing that gem 'can_can' is missing from the Gemfile.
Add it, run bundle install, then make sure that Gemfile.lock is added to git repository, and changes to this file are committed.
What was happening to me before was this: I would have a gem installed previously (on a different project) and when running a new project - the gem was available. After deploying to Heroku, it was missing from Gemfile, and was not available there.
A good way to fix that is to always use bundle exec

Rails 4 - Heroku - production errors

I'm new to coding and learning on the go. I find it difficult to decipher what the heroku logs are telling me. I just tried to push the master branch to heroku and got an error directing me to the logs. The logs say the following. I can barely understand the english let alone make out what it might mean.
Can anyone see the problem I need to focus on to fix this?
heroku logs
2016-03-25T08:20:21.086021+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.4/lib/active_record/relation.rb:515:in `load'
2016-03-25T08:20:21.086023+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.4/lib/active_record/relation/delegation.rb:46:in `each'
2016-03-25T08:20:21.086025+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rolify-5.0.0/lib/rolify/dynamic.rb:13:in `load_dynamic_methods'
2016-03-25T08:20:21.086022+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.4/lib/active_record/relation.rb:243:in `to_a'
2016-03-25T08:20:21.086028+00:00 app[web.1]: from /app/app/models/user.rb:2:in `<class:User>'
2016-03-25T08:20:21.086026+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rolify-5.0.0/lib/rolify.rb:33:in `rolify'
2016-03-25T08:20:21.086030+00:00 app[web.1]: from /app/app/models/user.rb:1:in `<top (required)>'
2016-03-25T08:20:21.086042+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `require'
2016-03-25T08:20:21.086043+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `block in require'
2016-03-25T08:20:21.086044+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:240:in `load_dependency'
2016-03-25T08:20:21.086046+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `require'
2016-03-25T08:20:21.086048+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:360:in `require_or_load'
2016-03-25T08:20:21.086061+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:184:in `const_missing'
2016-03-25T08:20:21.086049+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:494:in `load_missing_constant'
2016-03-25T08:20:21.086062+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/inflector/methods.rb:261:in `const_get'
2016-03-25T08:20:21.086063+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/inflector/methods.rb:261:in `block in constantize'
2016-03-25T08:20:21.086065+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/inflector/methods.rb:259:in `each'
2016-03-25T08:20:21.086067+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/inflector/methods.rb:259:in `inject'
2016-03-25T08:20:21.086069+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/inflector/methods.rb:259:in `constantize'
2016-03-25T08:20:21.086080+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:566:in `get'
2016-03-25T08:20:21.086081+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:597:in `constantize'
2016-03-25T08:20:21.086082+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/devise-3.4.1/lib/devise.rb:302:in `get'
2016-03-25T08:20:21.086084+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/devise-3.4.1/lib/devise/mapping.rb:80:in `to'
2016-03-25T08:20:21.086085+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/devise-3.4.1/lib/devise/mapping.rb:75:in `modules'
2016-03-25T08:20:21.086087+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/devise-3.4.1/lib/devise/mapping.rb:92:in `routes'
2016-03-25T08:20:21.086089+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/devise-3.4.1/lib/devise/mapping.rb:159:in `default_used_route'
2016-03-25T08:20:21.086101+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/devise-3.4.1/lib/devise/mapping.rb:69:in `initialize'
2016-03-25T08:20:21.086102+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/devise-3.4.1/lib/devise.rb:336:in `new'
2016-03-25T08:20:21.086103+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/devise-3.4.1/lib/devise.rb:336:in `add_mapping'
2016-03-25T08:20:21.086104+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/devise-3.4.1/lib/devise/rails/routes.rb:224:in `block in devise_for'
2016-03-25T08:20:21.086105+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/devise-3.4.1/lib/devise/rails/routes.rb:223:in `each'
2016-03-25T08:20:21.086107+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/devise-3.4.1/lib/devise/rails/routes.rb:223:in `devise_for'
2016-03-25T08:20:21.086109+00:00 app[web.1]: from /app/config/routes.rb:17:in `block in <top (required)>'
2016-03-25T08:20:21.086126+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:268:in `load'
2016-03-25T08:20:21.086127+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:268:in `block in load'
2016-03-25T08:20:21.086111+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:434:in `instance_exec'
2016-03-25T08:20:21.086123+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:434:in `eval_block'
2016-03-25T08:20:21.086124+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:412:in `draw'
2016-03-25T08:20:21.086125+00:00 app[web.1]: from /app/config/routes.rb:1:in `<top (required)>'
2016-03-25T08:20:21.086132+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:268:in `load'
2016-03-25T08:20:21.086130+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:240:in `load_dependency'
2016-03-25T08:20:21.086143+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/application/routes_reloader.rb:40:in `block in load_paths'
2016-03-25T08:20:21.086144+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/application/routes_reloader.rb:40:in `each'
2016-03-25T08:20:21.086145+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/application/routes_reloader.rb:40:in `load_paths'
2016-03-25T08:20:21.086148+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/application.rb:170:in `reload_routes!'
2016-03-25T08:20:21.086152+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/lazy_load_hooks.rb:36:in `call'
2016-03-25T08:20:21.086167+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/lazy_load_hooks.rb:45:in `block in run_load_hooks'
2016-03-25T08:20:21.086147+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/application/routes_reloader.rb:16:in `reload!'
2016-03-25T08:20:21.086168+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/lazy_load_hooks.rb:44:in `each'
2016-03-25T08:20:21.086150+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/devise-3.4.1/lib/devise/rails.rb:14:in `block in <class:Engine>'
2016-03-25T08:20:21.086169+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/lazy_load_hooks.rb:44:in `run_load_hooks'
2016-03-25T08:20:21.086154+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook'
2016-03-25T08:20:21.086173+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/initializable.rb:30:in `instance_exec'
2016-03-25T08:20:21.086175+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/initializable.rb:30:in `run'
2016-03-25T08:20:21.086177+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/initializable.rb:55:in `block in run_initializers'
2016-03-25T08:20:21.086172+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/application/finisher.rb:55:in `block in <module:Finisher>'
2016-03-25T08:20:21.086194+00:00 app[web.1]: from /app/vendor/ruby-2.2.2/lib/ruby/2.2.0/tsort.rb:429:in `each_strongly_connected_component_from'
2016-03-25T08:20:21.086205+00:00 app[web.1]: from /app/vendor/ruby-2.2.2/lib/ruby/2.2.0/tsort.rb:347:in `block in each_strongly_connected_component'
2016-03-25T08:20:21.086210+00:00 app[web.1]: from /app/vendor/ruby-2.2.2/lib/ruby/2.2.0/tsort.rb:345:in `each'
2016-03-25T08:20:21.086179+00:00 app[web.1]: from /app/vendor/ruby-2.2.2/lib/ruby/2.2.0/tsort.rb:226:in `block in tsort_each'
2016-03-25T08:20:21.086181+00:00 app[web.1]: from /app/vendor/ruby-2.2.2/lib/ruby/2.2.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
2016-03-25T08:20:21.086213+00:00 app[web.1]: from /app/vendor/ruby-2.2.2/lib/ruby/2.2.0/tsort.rb:345:in `call'
2016-03-25T08:20:21.086213+00:00 app[web.1]: from /app/vendor/ruby-2.2.2/lib/ruby/2.2.0/tsort.rb:345:in `each_strongly_connected_component'
2016-03-25T08:20:21.086216+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/application.rb:352:in `initialize!'
2016-03-25T08:20:21.086215+00:00 app[web.1]: from /app/vendor/ruby-2.2.2/lib/ruby/2.2.0/tsort.rb:203:in `tsort_each'
2016-03-25T08:20:21.086215+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/initializable.rb:54:in `run_initializers'
2016-03-25T08:20:21.086214+00:00 app[web.1]: from /app/vendor/ruby-2.2.2/lib/ruby/2.2.0/tsort.rb:224:in `tsort_each'
2016-03-25T08:20:21.086217+00:00 app[web.1]: from /app/config/environment.rb:5:in `<top (required)>'
2016-03-25T08:20:21.086217+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `require'
2016-03-25T08:20:21.086219+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `block in require'
2016-03-25T08:20:21.086220+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:240:in `load_dependency'
2016-03-25T08:20:21.086222+00:00 app[web.1]: from /app/config.ru:3:in `block in <main>'
2016-03-25T08:20:21.086221+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `require'
2016-03-25T08:20:21.086240+00:00 app[web.1]: from /app/config.ru:in `new'
2016-03-25T08:20:21.086224+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:55:in `instance_eval'
2016-03-25T08:20:21.086227+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:55:in `initialize'
2016-03-25T08:20:21.086241+00:00 app[web.1]: from /app/config.ru:in `<main>'
2016-03-25T08:20:21.086245+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/server.rb:299:in `build_app_and_options_from_config'
2016-03-25T08:20:21.086242+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:49:in `new_from_string'
2016-03-25T08:20:21.086241+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:49:in `eval'
2016-03-25T08:20:21.086244+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:40:in `parse_file'
2016-03-25T08:20:21.086248+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/commands/server.rb:61:in `app'
2016-03-25T08:20:21.086251+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/server.rb:336:in `wrapped_app'
2016-03-25T08:20:21.086247+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/server.rb:208:in `app'
2016-03-25T08:20:21.086270+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
2016-03-25T08:20:21.086263+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/server.rb:272:in `start'
2016-03-25T08:20:21.086266+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/commands/commands_tasks.rb:75:in `tap'
2016-03-25T08:20:21.086264+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/commands/server.rb:80:in `start'
2016-03-25T08:20:21.086264+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/commands/commands_tasks.rb:80:in `block in server'
2016-03-25T08:20:21.086267+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/commands/commands_tasks.rb:75:in `server'
2016-03-25T08:20:21.086270+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/commands.rb:17:in `<top (required)>'
2016-03-25T08:20:21.086284+00:00 app[web.1]: from bin/rails:8:in `<main>'
2016-03-25T08:20:21.086272+00:00 app[web.1]: from bin/rails:8:in `require'
2016-03-25T08:20:22.133222+00:00 heroku[web.1]: State changed from starting to crashed
2016-03-25T08:20:22.119281+00:00 heroku[web.1]: Process exited with status 1
2016-03-25T08:22:00.423386+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=www.cttr.com request_id=3311cef7-19ae-4309-8020-53f88bcb630f fwd="49.191.132.150" dyno= connect= service= status=503 bytes=
2016-03-25T08:22:01.417500+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=www.cttr.com request_id=cd78c604-f5e3-48d5-9bd7-f974b7f61da4 fwd="49.191.132.150" dyno= connect= service= status=503 bytes=
2016-03-25T08:25:54.618347+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=www.cttr.com request_id=4fb1a6ed-3ef6-48f7-b1a5-fde8200b2529 fwd="49.191.132.150" dyno= connect= service= status=503 bytes=
2016-03-25T08:25:55.206739+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=www.cttr.com request_id=dc0d2a42-9937-4a4a-9815-d3c520951ef8 fwd="49.191.132.150" dyno= connect= service= status=503 bytes=
2016-03-25T08:31:51.288633+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=www.cttr.com request_id=b3b64814-3915-47f3-9032-30d8cdf4c0ec fwd="49.191.132.150" dyno= connect= service= status=503 bytes=
2016-03-25T08:31:51.957639+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=www.cttr.com request_id=c85281e9-1c34-474f-a153-ebe5085c11f6 fwd="49.191.132.150" dyno= connect= service= status=503 bytes=
Add --tail option to your command:
heroku logs --tail
It will give you full real-time logs, not only a bit. May be real reason will be shown in real-time logs. Just run logs with tail and try to open crashing page and find bug in logs that received just now.
Some lines in your log contains paths to your project file, I marked them bold:
heroku logs
2016-03-25T08:20:21.086021+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.4/lib/active_record/relation.rb:515:in `load'
2016-03-25T08:20:21.086023+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.4/lib/active_record/relation/delegation.rb:46:in `each'
2016-03-25T08:20:21.086025+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rolify-5.0.0/lib/rolify/dynamic.rb:13:in `load_dynamic_methods'
2016-03-25T08:20:21.086022+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.4/lib/active_record/relation.rb:243:in `to_a'
2016-03-25T08:20:21.086028+00:00 app[web.1]: from /app/app/models/user.rb:2:in `'
2016-03-25T08:20:21.086026+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rolify-5.0.0/lib/rolify.rb:33:in `rolify'
2016-03-25T08:20:21.086030+00:00 app[web.1]: from /app/app/models/user.rb:1:in `'
2016-03-25T08:20:21.086042+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `require'
...
Look these files at specified rows, may be bug is somewhere here.

Heroku 'Application Error' when running heroku

I am trying to run my rails app on heroku. I have deployed successfully after doing an assets:precompile to get rid of some issues caused by bootstrap. I also have done a heroku run rake db:migrate. When opening my app I get an Application Error, specifically status=503 and error=H10.
Here is my heroku log
2014-09-09T22:04:45.055585+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:49:in `new_from_string'
2014-09-09T22:04:45.055589+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:277:in `build_app_and_options_from_config'
2014-09-09T22:04:45.055592+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:199:in `app'
2014-09-09T22:04:45.055596+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:314:in `wrapped_app'
2014-09-09T22:04:45.055593+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/commands/server.rb:50:in `app'
2014-09-09T22:04:45.055602+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/commands/server.rb:69:in `start'
2014-09-09T22:04:45.055599+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:250:in `start'
2014-09-09T22:04:45.055603+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/commands/commands_tasks.rb:81:in `block in server'
2014-09-09T22:04:45.055610+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/commands/commands_tasks.rb:40:in `run_command!'
2014-09-09T22:04:45.055606+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/commands/commands_tasks.rb:76:in `tap'
2014-09-09T22:04:45.055609+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/commands/commands_tasks.rb:76:in `server'
2014-09-09T22:04:45.055613+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/commands.rb:17:in `<top (requi
red)>'
2014-09-09T22:04:45.055615+00:00 app[web.1]: from bin/rails:8:in `require'
2014-09-09T22:04:45.055618+00:00 app[web.1]: from bin/rails:8:in `<main>'
2014-09-09T22:04:45.086736+00:00 app[web.1]: => Booting WEBrick
2014-09-09T22:04:45.749149+00:00 heroku[web.1]: Process exited with status 1
2014-09-09T22:04:45.757909+00:00 heroku[web.1]: State changed from starting to crashed
2014-09-09T22:04:45.758283+00:00 heroku[web.1]: State changed from crashed to starting
2014-09-09T22:04:48.723392+00:00 heroku[web.1]: Starting process with command `bin/rails server -p 40097 -e production`
2014-09-09T22:04:51.723638+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/engine.rb:468:in `block (2 levels) in eager_load!'
2014-09-09T22:04:51.723658+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/initializable.rb:55:in `block in run_initializers'
2014-09-09T22:04:51.723676+00:00 app[web.1]: from /app/config/environment.rb:5:in `<top (required)>'
2014-09-09T22:04:51.723790+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:49:in `eval'
2014-09-09T22:04:51.723805+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/commands/commands_tasks.rb:76:in `tap'
2014-09-09T22:04:51.755978+00:00 app[web.1]: => Ctrl-C to shutdown server
2014-09-09T22:04:51.723636+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:225:in `require_dependency'
2014-09-09T22:04:51.723656+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/initializable.rb:30:in `run'
2014-09-09T22:04:51.723675+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/application.rb:300:in `initialize!'
2014-09-09T22:04:51.723789+00:00 app[web.1]: from /app/config.ru:in `<main>'
2014-09-09T22:04:51.723803+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/commands/commands_tasks.rb:81:in `block in server'
2014-09-09T22:04:51.723621+00:00 app[web.1]: class users::allController < Devise::allController
2014-09-09T22:04:51.723643+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/engine.rb:467:in `block in eager_load!'
2014-09-09T22:04:51.723661+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:183:in `block (2 levels) in each_strongly_connected_component'
2014-09-09T22:04:51.723681+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:247:in `block in require'
2014-09-09T22:04:51.723793+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:40:in `parse_file'
2014-09-09T22:04:51.755972+00:00 app[web.1]: => Rails 4.1.4 application starting in production on http://0.0.0.0:40097
2014-09-09T22:04:51.755980+00:00 app[web.1]: Exiting
2014-09-09T22:04:51.723600+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:247:in `require': /app/app/controllers/users/all_controller.rb:1: class/module name must be CONSTANT (SyntaxError)
2014-09-09T22:04:51.723639+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/engine.rb:467:in `each'
2014-09-09T22:04:51.723660+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:150:in `block in tsort_each'
2014-09-09T22:04:51.723679+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:247:in `require'
2014-09-09T22:04:51.723792+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:49:in `new_from_string'
2014-09-09T22:04:51.723806+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/commands/commands_tasks.rb:76:in `server'
2014-09-09T22:04:51.755974+00:00 app[web.1]: => Run `rails server -h` for more startup options
2014-09-09T22:04:51.723626+00:00 app[web.1]: ^
2014-09-09T22:04:51.723645+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/engine.rb:465:in `each'
2014-09-09T22:04:51.723662+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:219:in `each_strongly_connected_component_from'
2014-09-09T22:04:51.723684+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:232:in `load_dependency'
2014-09-09T22:04:51.723795+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:277:in `build_app_and_options_from_config'
2014-09-09T22:04:51.723808+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/commands/commands_tasks.rb:40:in `run_command!'
2014-09-09T22:04:51.723631+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:247:in `require'
2014-09-09T22:04:51.723650+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/application/finisher.rb:58:in `each'
2014-09-09T22:04:51.723669+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:180:in `each_strongly_connected_component'
2014-09-09T22:04:51.723784+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in `instance_eval'
2014-09-09T22:04:51.723799+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:314:in `wrapped_app'
2014-09-09T22:04:51.723633+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:348:in `require_or_load'
2014-09-09T22:04:51.723651+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rai
ls/application/finisher.rb:58:in `block in <module:Finisher>'
2014-09-09T22:04:51.723670+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:148:in `tsort_each'
2014-09-09T22:04:51.723786+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in `initialize'
2014-09-09T22:04:51.723800+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:250:in `start'
2014-09-09T22:04:51.755966+00:00 app[web.1]: => Booting WEBrick
2014-09-09T22:04:51.723630+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:232:in `load_dependency'
2014-09-09T22:04:51.723648+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/engine.rb:346:in `eager_load!'
2014-09-09T22:04:51.723667+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:180:in `each'
2014-09-09T22:04:51.723783+00:00 app[web.1]: from /app/config.ru:3:in `block in <main>'
2014-09-09T22:04:51.723798+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/commands/server.rb:50:in `app'
2014-09-09T22:04:51.723810+00:00 app[web.1]: from bin/rails:8:in `require'
2014-09-09T22:04:51.723628+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:247:in `block in require'
2014-09-09T22:04:51.723647+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/engine.rb:465:in `eager_load!'
2014-09-09T22:04:51.723666+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:182:in `block in each_strongly_connected_component'
2014-09-09T22:04:51.723686+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:247:in `require'
2014-09-09T22:04:51.723796+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:199:in `app'
2014-09-09T22:04:51.723809+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/commands.rb:17:in `<top (required)>'
2014-09-09T22:04:51.723635+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:307:in `depend_on'
2014-09-09T22:04:51.723652+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/initializable.rb:30:in `instance_exec'
2014-09-09T22:04:51.723674+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/initializable.rb:54:in `run_initializers'
2014-09-09T22:04:51.723787+00:00 app[web.1]: from /app/config.ru:in `new'
2014-09-09T22:04:51.723802+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/commands/server.rb:69:in `start'
2014-09-09T22:04:51.723812+00:00 app[web.1]: from bin/rails:8:in `<main>'
2014-09-09T22:04:51.755976+00:00 app[web.1]: => Notice: server is listening on all interfaces (0.0.0.0). Consider using 127.0.0.1 (--binding option)
2014-09-09T22:04:52.493206+00:00 heroku[web.1]: Process exited with status 1
2014-09-09T22:04:52.502892+00:00 heroku[web.1]: State changed from starting to crashed
2014-09-09T22:04:53.571153+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=powerful-scrubland-9818.herokuapp.com request_id=4999439e-9786-4555-a57a-933d885c2f1e fwd="54.82.145.140" dyno= connect= service= status=503 bytes=
2014-09-09T22:04:56.844339+00:00 heroku[api]: Starting process with command `bundle exec rake db:migrate` by alfonsopintos#gmail.com
2014-09-09T22:05:00.487482+00:00 heroku[run.1716]: Starting process with command `bundle exec rake db:migrate`
2014-09-09T22:05:00.448479+00:00 heroku[run.1716]: Awaiting client
2014-09-09T22:05:00.719502+00:00 heroku[run.1716]: State changed from starting to up
2014-09-09T22:05:04.780344+00:00 heroku[run.1716]: State changed from up to complete
2014-09-09T22:05:04.764625+00:00 heroku[run.1716]: Process exited with status 0
2014-09-09T22:05:09.700119+00:00 heroku[api]: Starting process with command `bundle exec rake db:migrate` by alfonsopintos#gmail.com
2014-09-09T22:05:13.261146+00:00 heroku[run.3019]: Starting process with command `bundle exec rake db:migrate`
2014-09-09T22:05:13.186468+00:00 heroku[run.3019]: Awaiting client
2014-09-09T22:05:13.583931+00:00 heroku[run.3019]: State changed from starting to up
2014-09-09T22:05:18.478766+00:00 heroku[run.3019]: Process exited with status 0
2014-09-09T22:05:18.497817+00:00 heroku[run.3019]: State changed from up to complete
2014-09-09T22:05:24.001387+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=powerful-scrubland-9818.herokuapp.com request_id=51427254-23d8-45b1-84ef-6d2327163829 fwd="50.206.104.35" dyno= connect= service= status=503 bytes=
2014-09-09T22:05:24.284415+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=powerful-scrubland-9818.herokuapp.com request_id=831be281-88d5-4d09-ba7c-034e163dd63b fwd="50.206.104.35" dyno= connect= service= status=503 bytes=
2014-09-09T22:05:25.591676+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=powerful-scrubland-9818.herokuapp.com request_id=e74f87d6-fe73-4b28-b63d-46c0d8c91dab fwd="50.206.104.35" dyno= connect= service= status=503 bytes=
2014-09-09T22:05:25.799197+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=powerful-scrubland-9818.herokuapp.com request_id=91257b4c-045e-4e59-a91c-e09a97cf5edb fwd="50.206.104.35" dyno= connect= service= status=503 bytes=
2014-09-09T22:05:53.416437+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=powerful-scrubland-9818.herokuapp.com request_id=a638a16c-4dd9-425e-9175-572845ac7732 fwd="50.206.104.35" dyno= connect= service= status=503 bytes=
2014-09-09T22:05:53.799400+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=powerful-scrubland-9818.herokuapp.com request_id=830cefb2-970f-4709-9c39-357bd03a60c7 fwd="50.206.104.35" dyno= connect= service= status=503 bytes=
Edit:Here is the exact syntax error. It is a devise controller. It has not been altered since installing devise.
2014-09-09T22:29:25.827490+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:307:in `depend_on'
2014-09-09T22:29:25.827493+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/engine.rb:468:in `block (2 levels) in eager_load!'
2014-09-09T22:29:25.827503+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/engine.rb:346:in `eager_load!'
2014-09-09T22:29:25.827505+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/application/finisher.rb:58:in `each'
2014-09-09T22:29:25.827456+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:247:in `require': /app/app/controllers/users/all_controller.rb:1: class/module name must be CONSTANT (SyntaxError)
2014-09-09T22:29:25.827480+00:00 app[web.1]: class users::allController < Devise::allController
2014-09-09T22:29:25.827482+00:00 app[web.1]: ^
2014-09-09T22:29:25.827499+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/engine.rb:467:in `block in eager_load!'
2014-09-09T22:29:25.827497+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/engine.rb:467:in `each'
2014-09-09T22:29:25.827502+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/engine.rb:465:in `eager_load!'
2014-09-09T22:29:25.827528+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:148:in `tsort_each'
Naming
Indeed, the error appears to be thus:
/app/app/controllers/users/all_controller.rb:1: class/module name must be CONSTANT (SyntaxError)
class users::allController < Devise::allController
The problem is that you need to use a Constant name to define / call your controller. Currently, you're not doing this.
Simply, you'll need to do the following:
#app/controllers/users/all_controller.rb
class Users::AllController < Devise::AllController
This is important because Ruby (which Rails is built on), and most other software frameworks / languages in general, call constants at least by using CamelCase; most using FULL_CAPITALIZATION.
Looking at your controller definition, you're calling users::allController - neither CamelCase or CAPITALIZED.
Devise
Something else you need to consider is the role of Devise.
I've never seen the Devise AllController anywhere. I may be wrong, but I don't think it has one.
What you're doing is try to superclass a class which likely doesn't exist. So even if you resolve the naming issues with your controller, I believe you'll still hit a wall with the actual class itself.
Because you don't show us the contents of all_controller, I cannot give you any further recommendations. However, I can say that I believe you'll hit another error leaving it as it is.
Looks like the issue might be with one of your controllers when it tries to load it
app/controllers/users/all_controller.rb:1: class/module name must be CONSTANT (SyntaxError)
I pulled that out of the log, if you post some of that code, may be able to help further, but start by checking there

Resources