I'm trying to access my ruby on rails app deployed through heroku, and all it's telling me is "application error, if you are the owner check your logs". I've looked through the logs and can't find anything of note, also I'm kind of new so I may have missed something. I've copied them below, if anyone could help me I'd really appreciate it!
C:\Users\Nick\Projects\treebook>heroku logs
2014-01-15T08:20:18.102701+00:00 app[web.1]: Rendered devise/passwords/new.htm
l.erb within layouts/application (36.0ms)
2014-01-15T08:20:18.102646+00:00 heroku[router]: at=info method=GET path=/users/
password/new host=ancient-coast-2223.herokuapp.com fwd="5.10.83.102" dyno=web.1
connect=10ms service=439ms status=200 bytes=1552
2014-01-15T09:25:51.904267+00:00 heroku[web.1]: Idling
2014-01-15T09:25:51.904941+00:00 heroku[web.1]: State changed from up to down
2014-01-15T09:25:55.548293+00:00 heroku[web.1]: Stopping all processes with SIGT
ERM
2014-01-15T09:25:56.427897+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/ge
ms/railties-3.2.6/lib/rails/commands/server.rb:70:in `start'
2014-01-15T09:25:56.427897+00:00 app[web.1]: /app/vendor/ruby-2.0.0/lib/ruby/
2.0.0/webrick/server.rb:32:in `start'
2014-01-15T09:25:56.427897+00:00 app[web.1]: /app/vendor/ruby-2.0.0/lib/ruby/
2.0.0/webrick/server.rb:160:in `start'
2014-01-15T09:25:56.427897+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/ge
ms/rack-1.4.5/lib/rack/handler/webrick.rb:13:in `run'
2014-01-15T09:25:56.427897+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/ge
ms/rack-1.4.5/lib/rack/server.rb:268:in `start'
2014-01-15T09:25:56.427897+00:00 app[web.1]: [2014-01-15 09:25:56] FATAL SignalE
xception: SIGTERM
2014-01-15T09:25:56.427897+00:00 app[web.1]: /app/vendor/ruby-2.0.0/lib/ruby/
2.0.0/webrick/server.rb:170:in `select'
2014-01-15T09:25:56.427897+00:00 app[web.1]: /app/vendor/ruby-2.0.0/lib/ruby/
2.0.0/webrick/server.rb:170:in `block in start'
2014-01-15T09:25:56.427897+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/ge
ms/railties-3.2.6/lib/rails/commands.rb:55:in `block in <top (required)>'
2014-01-15T09:25:56.427897+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/ge
ms/railties-3.2.6/lib/rails/commands.rb:50:in `tap'
2014-01-15T09:25:56.428173+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/ge
ms/railties-3.2.6/lib/rails/commands.rb:50:in `<top (required)>'
2014-01-15T09:25:56.428173+00:00 app[web.1]: script/rails:6:in `require'
2014-01-15T09:25:56.428173+00:00 app[web.1]: script/rails:6:in `<main>'
2014-01-15T09:25:56.428572+00:00 app[web.1]: [2014-01-15 09:25:56] INFO going t
o shutdown ...
2014-01-15T09:25:56.428792+00:00 app[web.1]: [2014-01-15 09:25:56] INFO WEBrick
::HTTPServer#start done.
2014-01-15T09:25:56.428946+00:00 app[web.1]: Exiting
2014-01-15T09:25:58.317765+00:00 heroku[web.1]: Process exited with status 143
2014-01-15T09:32:26.452396+00:00 heroku[web.1]: State changed from down to start
ing
2014-01-15T09:32:26.452057+00:00 heroku[web.1]: Unidling
2014-01-15T09:32:30.382574+00:00 heroku[web.1]: Starting process with command `b
undle exec rails server -p 8907`
2014-01-15T09:32:34.053928+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-h
as-been-released. (called from <top (required)> at /app/config/environment.rb:5)
2014-01-15T09:32:34.060479+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-h
as-been-released. (called from <top (required)> at /app/config/environment.rb:5)
2014-01-15T09:32:34.659321+00:00 app[web.1]: => Booting WEBrick
2014-01-15T09:32:34.659321+00:00 app[web.1]: => Rails 3.2.6 application starting
in production on http://0.0.0.0:8907
2014-01-15T09:32:34.659321+00:00 app[web.1]: => Call with -d to detach
2014-01-15T09:32:34.659321+00:00 app[web.1]: => Ctrl-C to shutdown server
2014-01-15T09:32:34.659321+00:00 app[web.1]: Connecting to database specified by
DATABASE_URL
2014-01-15T09:32:34.737822+00:00 app[web.1]: SECURITY WARNING: No secret
option provided to Rack::Session::Cookie.
2014-01-15T09:32:34.737822+00:00 app[web.1]: This poses a security threa
t. It is strongly recommended that you
2014-01-15T09:32:34.737822+00:00 app[web.1]: provide a secret to prevent
exploits that may be possible from crafted
2014-01-15T09:32:34.737822+00:00 app[web.1]: cookies. This will not be s
upported in future versions of Rack, and
2014-01-15T09:32:34.737822+00:00 app[web.1]: future versions will even i
nvalidate your existing user cookies.
2014-01-15T09:32:34.737822+00:00 app[web.1]:
2014-01-15T09:32:34.737822+00:00 app[web.1]: Called from: /app/vendor/bu
ndle/ruby/2.0.0/gems/actionpack-3.2.6/lib/action_dispatch/middleware/session/abs
tract_store.rb:28:in `initialize'.
2014-01-15T09:32:35.643054+00:00 app[web.1]: [2014-01-15 09:32:35] INFO WEBrick
1.3.1
2014-01-15T09:32:35.643054+00:00 app[web.1]: [2014-01-15 09:32:35] INFO ruby 2.
0.0 (2013-11-22) [x86_64-linux]
2014-01-15T09:32:35.643960+00:00 app[web.1]: [2014-01-15 09:32:35] INFO WEBrick
::HTTPServer#start: pid=2 port=8907
2014-01-15T09:32:36.101046+00:00 heroku[web.1]: State changed from starting to u
p
2014-01-15T09:32:36.557580+00:00 app[web.1]: Started GET "/feed" for 5.10.83.23
at 2014-01-15 09:32:36 +0000
2014-01-15T09:32:36.557580+00:00 app[web.1]:
2014-01-15T09:32:36.557580+00:00 app[web.1]:
2014-01-15T09:32:36.733559+00:00 app[web.1]: Processing by StatusesController#in
dex as */*
2014-01-15T09:32:37.055549+00:00 app[web.1]: Rendered statuses/index.html.erb
within layouts/application (5.2ms)
2014-01-15T09:32:37.073393+00:00 app[web.1]: Completed 200 OK in 331ms (Views: 5
3.8ms | ActiveRecord: 146.1ms)
2014-01-15T09:32:37.070847+00:00 heroku[router]: at=info method=GET path=/feed h
ost=ancient-coast-2223.herokuapp.com fwd="5.10.83.23" dyno=web.1 connect=4ms ser
vice=555ms status=200 bytes=1009
2014-01-15T10:39:20.861879+00:00 heroku[web.1]: Idling
2014-01-15T10:39:20.862709+00:00 heroku[web.1]: State changed from up to down
2014-01-15T10:39:26.152789+00:00 heroku[web.1]: Stopping all processes with SIGT
ERM
2014-01-15T10:39:28.349509+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/ge
ms/rack-1.4.5/lib/rack/handler/webrick.rb:13:in `run'
2014-01-15T10:39:28.349509+00:00 app[web.1]: [2014-01-15 10:39:28] FATAL SignalE
xception: SIGTERM
2014-01-15T10:39:28.349509+00:00 app[web.1]: /app/vendor/ruby-2.0.0/lib/ruby/
2.0.0/webrick/server.rb:32:in `start'
2014-01-15T10:39:28.349509+00:00 app[web.1]: /app/vendor/ruby-2.0.0/lib/ruby/
2.0.0/webrick/server.rb:160:in `start'
2014-01-15T10:39:28.349736+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/ge
ms/railties-3.2.6/lib/rails/commands.rb:50:in `<top (required)>'
2014-01-15T10:39:28.349509+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/ge
ms/railties-3.2.6/lib/rails/commands/server.rb:70:in `start'
2014-01-15T10:39:28.349736+00:00 app[web.1]: [2014-01-15 10:39:28] INFO WEBrick
::HTTPServer#start done.
2014-01-15T10:39:28.349736+00:00 app[web.1]: Exiting
2014-01-15T10:39:28.349509+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/ge
ms/railties-3.2.6/lib/rails/commands.rb:50:in `tap'
2014-01-15T10:39:28.349736+00:00 app[web.1]: script/rails:6:in `require'
2014-01-15T10:39:28.349736+00:00 app[web.1]: script/rails:6:in `<main>'
2014-01-15T10:39:28.349736+00:00 app[web.1]: [2014-01-15 10:39:28] INFO going t
o shutdown ...
2014-01-15T10:39:28.349509+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/ge
ms/railties-3.2.6/lib/rails/commands.rb:55:in `block in <top (required)>'
2014-01-15T10:39:28.349509+00:00 app[web.1]: /app/vendor/ruby-2.0.0/lib/ruby/
2.0.0/webrick/server.rb:170:in `select'
2014-01-15T10:39:28.349509+00:00 app[web.1]: /app/vendor/ruby-2.0.0/lib/ruby/
2.0.0/webrick/server.rb:170:in `block in start'
2014-01-15T10:39:28.349509+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/ge
ms/rack-1.4.5/lib/rack/server.rb:268:in `start'
2014-01-15T10:39:32.131310+00:00 heroku[web.1]: Process exited with status 143
2014-01-15T17:28:52+00:00 heroku[slug-compiler]: Slug compilation started
2014-01-15T17:29:41+00:00 heroku[slug-compiler]: Slug compilation failed: failed
to compile Ruby app
2014-01-15T17:34:16+00:00 heroku[slug-compiler]: Slug compilation started
2014-01-15T17:34:57+00:00 heroku[slug-compiler]: Slug compilation failed: failed
to compile Ruby app
2014-01-15T17:36:21+00:00 heroku[slug-compiler]: Slug compilation started
2014-01-15T17:53:09+00:00 heroku[slug-compiler]: Slug compilation started
2014-01-15T17:53:50+00:00 heroku[slug-compiler]: Slug compilation finished
2014-01-15T17:53:51.149370+00:00 heroku[web.1]: State changed from down to start
ing
2014-01-15T17:53:50.636801+00:00 heroku[api]: Deploy a01f9b0 by nico_dubus#hotma
il.com
2014-01-15T17:53:50.659462+00:00 heroku[api]: Release v14 created by nico_dubus#
hotmail.com
2014-01-15T17:53:55.447426+00:00 heroku[web.1]: Starting process with command `b
undle exec thin start -R config.ru -e $RAILS_ENV -p 23616`
2014-01-15T17:53:57.870573+00:00 app[web.1]: bundler: command not found: thin
2014-01-15T17:53:57.870573+00:00 app[web.1]: Install missing gem executables wit
h `bundle install`
2014-01-15T17:53:59.771942+00:00 heroku[web.1]: Process exited with status 127
2014-01-15T17:53:59.785195+00:00 heroku[web.1]: State changed from starting to c
rashed
2014-01-15T17:53:59.785928+00:00 heroku[web.1]: State changed from crashed to st
arting
2014-01-15T17:54:03.907763+00:00 heroku[web.1]: Starting process with command `b
undle exec thin start -R config.ru -e $RAILS_ENV -p 57812`
2014-01-15T17:54:05.728365+00:00 app[web.1]: Install missing gem executables wit
h `bundle install`
2014-01-15T17:54:05.728365+00:00 app[web.1]: bundler: command not found: thin
2014-01-15T17:54:07.247758+00:00 heroku[web.1]: Process exited with status 127
2014-01-15T17:54:07.266939+00:00 heroku[web.1]: State changed from starting to c
rashed
2014-01-15T17:54:07.695808+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path=/ host=ancient-coast-2223.herokuapp.com fwd="99.254.12.203
" dyno= connect= service= status=503 bytes=
2014-01-15T17:55:34.114731+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path=/ host=ancient-coast-2223.herokuapp.com fwd="99.254.12.203
" dyno= connect= service= status=503 bytes=
2014-01-15T18:02:11.810789+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path=/ host=ancient-coast-2223.herokuapp.com fwd="99.254.12.203
" dyno= connect= service= status=503 bytes=
2014-01-15T18:02:11.038318+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path=/ host=ancient-coast-2223.herokuapp.com fwd="99.254.12.203
" dyno= connect= service= status=503 bytes=
2014-01-15T18:02:02.502227+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path=/ host=ancient-coast-2223.herokuapp.com fwd="99.254.12.203
" dyno= connect= service= status=503 bytes=
2014-01-15T18:02:10.023155+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path=/ host=ancient-coast-2223.herokuapp.com fwd="99.254.12.203
" dyno= connect= service= status=503 bytes=
2014-01-15T18:03:30.922365+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path=/ host=ancient-coast-2223.herokuapp.com fwd="99.254.12.203
" dyno= connect= service= status=503 bytes=
2014-01-15T18:03:33.847534+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path=/ host=ancient-coast-2223.herokuapp.com fwd="99.254.12.203
" dyno= connect= service= status=503 bytes=
2014-01-15T18:03:32.869646+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path=/ host=ancient-coast-2223.herokuapp.com fwd="99.254.12.203
" dyno= connect= service= status=503 bytes=
2014-01-15T18:05:34.688015+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path=/ host=ancient-coast-2223.herokuapp.com fwd="99.254.12.203
" dyno= connect= service= status=503 bytes=
Looks like you're missing thin
2014-01-15T17:53:55.447426+00:00 heroku[web.1]: Starting process with
command bundle exec thin start -R config.ru -e $RAILS_ENV -p 23616
2014-01-15T17:53:57.870573+00:00 app[web.1]: bundler: command not
found: thin
In your Gemfile put
group :production do
gem 'thin'
end
Run bundle, commit & push to Heroku. HTH?
Related
I have this rails site I want to deploy but not used to heroku, and I am not able to undertsand this heroku logs:
➜ LisbonExperienceRails git:(master) ✗ heroku logs --tail
2020-03-29T18:24:22.842298+00:00 app[web.1]: * Version 4.3.3 (ruby 2.6.3-
p62), codename: Mysterious Traveller
enter code here 2020-03-29T18:24:22.842299+00:00 app[web.1]: * Min enter code herethreads: 5, max threads: 5
enter code here2enter code here020-03-29T18:24:22.842323+00:00 app[web.1]: * enter code here
enter code hereEnvironment: production
enter code here2020-03-29T18:24:24.389690+00:00 heroku[run.1436]: State changed
from starting to up
2020-03-29T18:24:24.790160+00:00 heroku[run.1436]: Awaiting client
2020-03-29T18:24:24.840400+00:00 heroku[run.1436]: Starting process with command `rails db:migrate`
2020-03-29T18:24:30.040224+00:00 app[web.1]: * Listening on tcp://0.0.0.0:18470
2020-03-29T18:24:30.042395+00:00 app[web.1]: bundler: failed to load command: puma (/app/vendor/bundle/ruby/2.6.0/bin/puma)
2020-03-29T18:24:30.042479+00:00 app[web.1]: Errno::ENOENT: No such file or directory # rb_sysopen - tmp/pids/server.pid
2020-03-29T18:24:30.042482+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/lib/puma/launcher.rb:216:in `initialize'
2020-03-29T18:24:30.042482+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/lib/puma/launcher.rb:216:in `open'
2020-03-29T18:24:30.042483+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/lib/puma/launcher.rb:216:in `write_pid'
2020-03-29T18:24:30.042483+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/lib/puma/launcher.rb:105:in `write_state'
2020-03-29T18:24:30.042484+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/lib/puma/single.rb:103:in `run'
2020-03-29T18:24:30.042484+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/lib/puma/launcher.rb:172:in `run'
2020-03-29T18:24:30.042485+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/lib/puma/cli.rb:80:in `run'
2020-03-29T18:24:30.042485+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/bin/puma:10:in `<top (required)>'
2020-03-29T18:24:30.042487+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/bin/puma:23:in `load'
2020-03-29T18:24:30.042487+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/bin/puma:23:in `<top (required)>'
2020-03-29T18:24:30.144051+00:00 heroku[web.1]: State changed from starting to crashed
2020-03-29T18:24:30.128568+00:00 heroku[web.1]: Process exited with status 1
2020-03-29T18:24:32.875605+00:00 heroku[run.1436]: State changed from up to complete
2020-03-29T18:24:32.858184+00:00 heroku[run.1436]: Process exited with status 0
2020-03-29T18:25:08.039240+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=frozen-scrubland-52032.herokuapp.com request_id=c7c63b60-be70-4c82-aa40-f4b8c1045dab fwd="79.168.11.241" dyno= connect= service= status=503 bytes= protocol=https
2020-03-29T18:25:08.964216+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=frozen-scrubland-52032.herokuapp.com request_id=87dc4beb-f129-45a8-86f5-0914252675cd fwd="79.168.11.241" dyno= connect= service= status=503 bytes= protocol=https
2020-03-29T18:34:55.211912+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=frozen-scrubland-52032.herokuapp.com request_id=8cfb30b5-e9ab-4e8a-b9db-6382002556f5 fwd="79.168.11.241" dyno= connect= service= status=503 bytes= protocol=https
2020-03-29T18:34:55.911037+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=frozen-scrubland-52032.herokuapp.com request_id=668543c5-164f-40f3-afc3-82e280d19b50 fwd="79.168.11.241" dyno= connect= service= status=503 bytes= protocol=https
2020-03-29T18:37:06.279698+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=frozen-scrubland-52032.herokuapp.com request_id=c1eb428f-a1ba-461c-9126-5a7bbbf6915e fwd="79.168.11.241" dyno= connect= service= status=503 bytes= protocol=https
2020-03-29T18:37:07.431538+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=frozen-scrubland-52032.herokuapp.com request_id=0cf9b521-2ff6-4600-ae25-a4ba23036e13 fwd="79.168.11.241" dyno= connect= service= status=503 bytes= protocol=https
2020-03-29T18:40:00.086892+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=frozen-scrubland-52032.herokuapp.com request_id=8c29310f-5f06-4c65-87a1-5c2451ff2c75 fwd="79.168.11.241" dyno= connect= service= status=503 bytes= protocol=https
2020-03-29T18:40:00.856712+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=frozen-scrubland-52032.herokuapp.com request_id=f6e7ab71-b607-4a4f-8e89-b9e740b1b3ea fwd="79.168.11.241" dyno= connect= service= status=503 bytes= protocol=https
2020-03-29T18:44:00.103996+00:00 app[api]: Starting process with command `bundle exec rake -T` by user cecile_rougnaux#hotmail.com
2020-03-29T18:44:10.066646+00:00 heroku[run.8343]: State changed from starting to up
2020-03-29T18:44:10.780483+00:00 heroku[run.8343]: Awaiting client
2020-03-29T18:44:10.845048+00:00 heroku[run.8343]: Starting process with command `bundle exec rake -T`
2020-03-29T18:44:18.078898+00:00 heroku[run.8343]: State changed from up to complete
2020-03-29T18:44:18.059294+00:00 heroku[run.8343]: Process exited with status 0
2020-03-29T18:44:54.949571+00:00 app[api]: Starting process with command `bundle exec rake -T` by user cecile_rougnaux#hotmail.com
2020-03-29T18:45:03.226651+00:00 heroku[run.1199]: State changed from starting to up
2020-03-29T18:45:03.443510+00:00 heroku[run.1199]: Awaiting client
2020-03-29T18:45:03.500283+00:00 heroku[run.1199]: Starting process with command `bundle exec rake -T`
2020-03-29T18:45:10.169424+00:00 heroku[run.1199]: State changed from up to complete
2020-03-29T18:45:10.153328+00:00 heroku[run.1199]: Process exited with status 0
2020-03-29T18:45:35.142130+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=frozen-scrubland-52032.herokuapp.com request_id=9349fc3a-c140-4a1c-b54b-0d10474ad670 fwd="79.168.11.241" dyno= connect= service= status=503 bytes= protocol=https
2020-03-29T18:45:36.051022+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=frozen-scrubland-52032.herokuapp.com request_id=56be90fa-da28-4455-9de0-478487d70bc4 fwd="79.168.11.241" dyno= connect= service= status=503 bytes= protocol=https
2020-03-29T18:48:40.207301+00:00 app[api]: Starting process with command `bundle install` by user cecile_rougnaux#hotmail.com
2020-03-29T18:48:48.384063+00:00 heroku[run.1409]: State changed from starting to up
2020-03-29T18:48:53.268671+00:00 heroku[run.1409]: State changed from up to complete
2020-03-29T18:48:54.350707+00:00 app[api]: Starting process with command `bundle exec rake db:migrate` by user cecile_rougnaux#hotmail.com
2020-03-29T18:49:01.631020+00:00 heroku[run.1442]: State changed from starting to up
2020-03-29T18:49:01.752331+00:00 heroku[run.1442]: Awaiting client
2020-03-29T18:49:01.807471+00:00 heroku[run.1442]: Starting process with command `bundle exec rake db:migrate`
2020-03-29T18:49:08.730528+00:00 heroku[run.1442]: State changed from up to complete
2020-03-29T18:49:08.714537+00:00 heroku[run.1442]: Process exited with status 0
2020-03-29T18:50:20.441131+00:00 heroku[web.1]: State changed from crashed to starting
2020-03-29T18:50:27.885259+00:00 heroku[web.1]: Starting process with command `bundle exec puma -C config/puma.rb`
2020-03-29T18:50:30.518292+00:00 app[web.1]: Puma starting in single mode...
2020-03-29T18:50:30.518326+00:00 app[web.1]: * Version 4.3.3 (ruby 2.6.3-p62), codename: Mysterious Traveller
2020-03-29T18:50:30.518327+00:00 app[web.1]: * Min threads: 5, max threads: 5
2020-03-29T18:50:30.518327+00:00 app[web.1]: * Environment: production
2020-03-29T18:50:34.228872+00:00 app[web.1]: * Listening on tcp://0.0.0.0:45195
2020-03-29T18:50:34.229460+00:00 app[web.1]: bundler: failed to load command: puma (/app/vendor/bundle/ruby/2.6.0/bin/puma)
2020-03-29T18:50:34.229526+00:00 app[web.1]: Errno::ENOENT: No such file or directory # rb_sysopen - tmp/pids/server.pid
2020-03-29T18:50:34.229528+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/lib/puma/launcher.rb:216:in `initialize'
2020-03-29T18:50:34.229529+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/lib/puma/launcher.rb:216:in `open'
2020-03-29T18:50:34.229529+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/lib/puma/launcher.rb:216:in `write_pid'
2020-03-29T18:50:34.229529+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/lib/puma/launcher.rb:105:in `write_state'
2020-03-29T18:50:34.229530+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/lib/puma/single.rb:103:in `run'
2020-03-29T18:50:34.229530+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/lib/puma/launcher.rb:172:in `run'
2020-03-29T18:50:34.229531+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/lib/puma/cli.rb:80:in `run'
2020-03-29T18:50:34.229531+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/bin/puma:10:in `<top (required)>'
2020-03-29T18:50:34.229532+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/bin/puma:23:in `load'
2020-03-29T18:50:34.229533+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/bin/puma:23:in `<top (required)>'
2020-03-29T18:50:34.305375+00:00 heroku[web.1]: State changed from starting to crashed
2020-03-29T18:50:34.287584+00:00 heroku[web.1]: Process exited with status 1
2020-03-29T18:51:10.041481+00:00 heroku[web.1]: State changed from crashed to starting
2020-03-29T18:51:09.701111+00:00 app[api]: Set GMAIL_EMAIL, GMAIL_PASSWORD config vars by user cecile_rougnaux#hotmail.com
2020-03-29T18:51:09.701111+00:00 app[api]: Release v9 created by user cecile_rougnaux#hotmail.com
2020-03-29T18:51:18.393405+00:00 heroku[web.1]: Starting process with command `bundle exec puma -C config/puma.rb`
2020-03-29T18:51:21.735395+00:00 app[web.1]: Puma starting in single mode...
2020-03-29T18:51:21.735421+00:00 app[web.1]: * Version 4.3.3 (ruby 2.6.3-p62), codename: Mysterious Traveller
2020-03-29T18:51:21.735430+00:00 app[web.1]: * Min threads: 5, max threads: 5
2020-03-29T18:51:21.735431+00:00 app[web.1]: * Environment: production
2020-03-29T18:51:26.103643+00:00 app[web.1]: * Listening on tcp://0.0.0.0:44574
2020-03-29T18:51:26.104208+00:00 app[web.1]: bundler: failed to load command: puma (/app/vendor/bundle/ruby/2.6.0/bin/puma)
2020-03-29T18:51:26.104286+00:00 app[web.1]: Errno::ENOENT: No such file or directory # rb_sysopen - tmp/pids/server.pid
2020-03-29T18:51:26.104287+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/lib/puma/launcher.rb:216:in `initialize'
2020-03-29T18:51:26.104287+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/lib/puma/launcher.rb:216:in `open'
2020-03-29T18:51:26.104288+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/lib/puma/launcher.rb:216:in `write_pid'
2020-03-29T18:51:26.104288+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/lib/puma/launcher.rb:105:in `write_state'
2020-03-29T18:51:26.104288+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/lib/puma/single.rb:103:in `run'
2020-03-29T18:51:26.104289+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/lib/puma/launcher.rb:172:in `run'
2020-03-29T18:51:26.104289+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/lib/puma/cli.rb:80:in `run'
2020-03-29T18:51:26.104289+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/puma-4.3.3/bin/puma:10:in `<top (required)>'
2020-03-29T18:51:26.104290+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/bin/puma:23:in `load'
2020-03-29T18:51:26.104290+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/bin/puma:23:in `<top (required)>'
2020-03-29T18:51:26.209443+00:00 heroku[web.1]: State changed from starting to crashed
2020-03-29T18:51:26.188677+00:00 heroku[web.1]: Process exited with status 1
2020-03-29T18:51:35.536923+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=frozen-scrubland-52032.herokuapp.com request_id=df9ff8aa-78d4-44d2-a570-ac2132eee46b fwd="79.168.11.241" dyno= connect= service= status=503 bytes= protocol=https
2020-03-29T18:51:36.280816+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=frozen-scrubland-52032.herokuapp.com request_id=d9680377-a55e-4aa7-9194-6b167a88311a fwd="79.168.11.241" dyno= connect= service= status=503 bytes= protocol=https
Thanks for your help, any ;))
C
Raily should automatically create those folders during initialization via bundle exec rails server.
Since you're executing puma diretctly, those folders don't exist yet. To fix that you should either launch your server with the recommended command above, or use a script to create the tmp and tmp/pids directories before running the exec command.
I'm currently working through Michael Hartl's Rails Tutorial. I'm trying to deploy my app onto Heroku, but I keep getting a 503 Error. I already called heroku run rake db:migrate as well as heroku ps:scale web=1. Neither seemed to solve my problem. Below is the return when I call heroku logs:
C:\Sites\rails_projects\sample_app>heroku logs
2014-09-03T01:15:48.971383+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/act
ivesupport-4.0.8/lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2014-09-03T01:15:48.971406+00:00 app[web.1]:
2014-09-03T01:15:48.971449+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rac
k-1.5.2/lib/rack/lock.rb:17:in `call'
2014-09-03T01:15:48.971459+00:00 app[web.1]:
2014-09-03T01:15:48.971363+00:00 app[web.1]: ActionController::RoutingError (No
route matches [GET] "/"):
2014-09-03T01:15:48.971370+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rai
lties-4.0.8/lib/rails/rack/logger.rb:20:in `block in call'
2014-09-03T01:15:48.971372+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/act
ivesupport-4.0.8/lib/active_support/tagged_logging.rb:68:in `block in tagged'
2014-09-03T01:15:48.971377+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rai
lties-4.0.8/lib/rails/rack/logger.rb:20:in `call'
2014-09-03T01:15:48.971395+00:00 app[web.1]: vendor/ruby-1.9.3/lib/ruby/1.9.1/
webrick/httpserver.rb:138:in `service'
2014-09-03T01:15:48.971414+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/act
ivesupport-4.0.8/lib/active_support/tagged_logging.rb:68:in `block in tagged'
2014-09-03T01:15:48.971416+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/act
ivesupport-4.0.8/lib/active_support/tagged_logging.rb:26:in `tagged'
2014-09-03T01:15:48.971417+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/act
ivesupport-4.0.8/lib/active_support/tagged_logging.rb:68:in `tagged'
2014-09-03T01:15:48.971419+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rai
lties-4.0.8/lib/rails/rack/logger.rb:20:in `call'
2014-09-03T01:15:48.971420+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/act
ionpack-4.0.8/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2014-09-03T01:15:48.971398+00:00 app[web.1]: vendor/ruby-1.9.3/lib/ruby/1.9.1/
webrick/server.rb:191:in `block in start_thread'
2014-09-03T01:15:48.971401+00:00 app[web.1]:
2014-09-03T01:15:48.971409+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/act
ionpack-4.0.8/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
2014-09-03T01:15:48.971410+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/act
ionpack-4.0.8/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2014-09-03T01:15:48.971385+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/act
ionpack-4.0.8/lib/action_dispatch/middleware/static.rb:64:in `call'
2014-09-03T01:15:48.971400+00:00 app[web.1]:
2014-09-03T01:15:48.971440+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rac
k-1.5.2/lib/rack/runtime.rb:17:in `call'
2014-09-03T01:15:48.971441+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/act
ivesupport-4.0.8/lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2014-09-03T01:15:48.971368+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rai
lties-4.0.8/lib/rails/rack/logger.rb:38:in `call_app'
2014-09-03T01:15:48.971374+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/act
ivesupport-4.0.8/lib/active_support/tagged_logging.rb:26:in `tagged'
2014-09-03T01:15:48.971375+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/act
ivesupport-4.0.8/lib/active_support/tagged_logging.rb:68:in `tagged'
2014-09-03T01:15:48.971378+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/act
ionpack-4.0.8/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2014-09-03T01:15:48.971388+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rai
lties-4.0.8/lib/rails/engine.rb:511:in `call'
2014-09-03T01:15:48.971391+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rac
k-1.5.2/lib/rack/lock.rb:17:in `call'
2014-09-03T01:15:48.971394+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rac
k-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
2014-09-03T01:15:48.971444+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rac
k-1.5.2/lib/rack/sendfile.rb:112:in `call'
2014-09-03T01:15:48.971446+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rai
lties-4.0.8/lib/rails/engine.rb:511:in `call'
2014-09-03T01:15:48.971422+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rac
k-1.5.2/lib/rack/methodoverride.rb:21:in `call'
2014-09-03T01:16:04+00:00 heroku[slug-compiler]: Slug compilation started
2014-09-03T01:43:12+00:00 heroku[slug-compiler]: Slug compilation started
2014-09-03T01:43:34+00:00 heroku[slug-compiler]: Slug compilation failed: failed
to compile Ruby app
2014-09-03T01:45:13+00:00 heroku[slug-compiler]: Slug compilation started
2014-09-03T01:45:37+00:00 heroku[slug-compiler]: Slug compilation failed: failed
to compile Ruby app
2014-09-03T01:46:56+00:00 heroku[slug-compiler]: Slug compilation started
2014-09-03T01:47:19+00:00 heroku[slug-compiler]: Slug compilation failed: failed
to compile Ruby app
2014-09-03T01:56:50+00:00 heroku[slug-compiler]: Slug compilation started
2014-09-03T01:57:13+00:00 heroku[slug-compiler]: Slug compilation failed: failed
to compile Ruby app
2014-09-03T02:00:58.883097+00:00 heroku[api]: Starting process with command `bun
dle exec rake db:migrate` by xxxxxxxxxxx.xxx#yale.edu
2014-09-03T02:01:03.270799+00:00 heroku[run.6672]: Awaiting client
2014-09-03T02:01:03.472702+00:00 heroku[run.6672]: Starting process with command
`bundle exec rake db:migrate`
2014-09-03T02:01:03.500688+00:00 heroku[run.6672]: State changed from starting t
o up
2014-09-03T02:01:07.922048+00:00 heroku[run.6672]: State changed from up to comp
lete
2014-09-03T02:01:07.908267+00:00 heroku[run.6672]: Process exited with status 0
2014-09-03T02:01:16+00:00 heroku[slug-compiler]: Slug compilation started
2014-09-03T02:01:43+00:00 heroku[slug-compiler]: Slug compilation failed: failed
to compile Ruby app
2014-09-03T02:17:56+00:00 heroku[slug-compiler]: Slug compilation started
2014-09-03T02:18:33+00:00 heroku[slug-compiler]: Slug compilation failed: failed
to compile Ruby app
2014-09-03T02:20:14.250601+00:00 heroku[web.1]: State changed from up to down
2014-09-03T02:20:14.249756+00:00 heroku[web.1]: Idling
2014-09-03T02:20:16.243500+00:00 heroku[web.1]: Stopping all processes with SIGT
ERM
2014-09-03T02:20:16.649074+00:00 app[web.1]: /app/vendor/ruby-1.9.3/lib/ruby/
1.9.1/webrick/server.rb:98:in `select'
2014-09-03T02:20:16.649068+00:00 app[web.1]: [2014-09-03 02:20:16] ERROR SignalE
xception: SIGTERM
2014-09-03T02:20:17+00:00 heroku[slug-compiler]: Slug compilation started
2014-09-03T02:20:27.433550+00:00 heroku[web.1]: Process exited with status 137
2014-09-03T02:20:26.341656+00:00 heroku[web.1]: Error R12 (Exit timeout) -> At l
east one process failed to exit within 10 seconds of SIGTERM
2014-09-03T02:20:26.341656+00:00 heroku[web.1]: Stopping remaining processes wit
h SIGKILL
2014-09-03T02:20:38+00:00 heroku[slug-compiler]: Slug compilation finished
2014-09-03T02:20:55.834230+00:00 heroku[web.1]: Unidling
2014-09-03T02:20:55.834497+00:00 heroku[web.1]: State changed from down to start
ing
2014-09-03T02:20:58.416528+00:00 heroku[web.1]: Starting process with command `b
in/rails server -p 4591 -e production`
2014-09-03T02:20:59.882858+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9
.1/gems/railties-4.0.8/lib/rails/commands.rb:74:in `block in <top (required)>'
2014-09-03T02:20:59.882832+00:00 app[web.1]: /app/config/application.rb:8:in `<t
op (required)>': undefined local variable or method `config' for main:Object (Na
meError)
2014-09-03T02:20:59.882864+00:00 app[web.1]: from bin/rails:4:in `require'
2014-09-03T02:20:59.882860+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9
.1/gems/railties-4.0.8/lib/rails/commands.rb:71:in `tap'
2014-09-03T02:20:59.882855+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9
.1/gems/railties-4.0.8/lib/rails/commands.rb:74:in `require'
2014-09-03T02:20:59.882865+00:00 app[web.1]: from bin/rails:4:in `<main>'
2014-09-03T02:20:59.882862+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9
.1/gems/railties-4.0.8/lib/rails/commands.rb:71:in `<top (required)>'
2014-09-03T02:21:00.581910+00:00 heroku[web.1]: Process exited with status 1
2014-09-03T02:21:00.605009+00:00 heroku[web.1]: State changed from starting to c
rashed
2014-09-03T02:21:00.605573+00:00 heroku[web.1]: State changed from crashed to st
arting
2014-09-03T02:21:05.096011+00:00 heroku[web.1]: Starting process with command `b
in/rails server -p 26610 -e production`
2014-09-03T02:21:07.464348+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9
.1/gems/railties-4.0.8/lib/rails/commands.rb:74:in `require'
2014-09-03T02:21:07.464364+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9
.1/gems/railties-4.0.8/lib/rails/commands.rb:71:in `<top (required)>'
2014-09-03T02:21:07.464366+00:00 app[web.1]: from bin/rails:4:in `require'
2014-09-03T02:21:07.464327+00:00 app[web.1]: /app/config/application.rb:8:in `<t
op (required)>': undefined local variable or method `config' for main:Object (Na
meError)
2014-09-03T02:21:07.464351+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9
.1/gems/railties-4.0.8/lib/rails/commands.rb:74:in `block in <top (required)>'
2014-09-03T02:21:07.464352+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9
.1/gems/railties-4.0.8/lib/rails/commands.rb:71:in `tap'
2014-09-03T02:21:07.464367+00:00 app[web.1]: from bin/rails:4:in `<main>'
2014-09-03T02:21:08.367706+00:00 heroku[web.1]: Process exited with status 1
2014-09-03T02:21:08.385828+00:00 heroku[web.1]: State changed from starting to c
rashed
2014-09-03T02:21:09.878185+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path="/" host=stark-wildwood-4373.herokuapp.com request_id=9609
1c6b-8b29-46c7-9346-7958d56ca8b6 fwd="54.81.14.127" dyno= connect= service= stat
us=503 bytes=
2014-09-03T02:21:24.250818+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path="/" host=stark-wildwood-4373.herokuapp.com request_id=bf7f
ebce-27ea-4f27-a7ec-e10847f981b9 fwd="130.132.173.192" dyno= connect= service= s
tatus=503 bytes=
2014-09-03T02:21:45.319045+00:00 heroku[api]: Starting process with command `bun
dle exec rake db:migrate` by xxxxxxxxxxx.xxx#yale.edu
2014-09-03T02:21:48.040435+00:00 heroku[run.5773]: Awaiting client
2014-09-03T02:21:48.076415+00:00 heroku[run.5773]: Starting process with command
`bundle exec rake db:migrate`
2014-09-03T02:21:48.398535+00:00 heroku[run.5773]: State changed from starting t
o up
2014-09-03T02:21:50.510559+00:00 heroku[run.5773]: Process exited with status 1
2014-09-03T02:21:59.387968+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path="/" host=stark-wildwood-4373.herokuapp.com request_id=0ab1
0c21-51b8-4b88-b820-6814a2c31703 fwd="130.132.173.192" dyno= connect= service= s
tatus=503 bytes=
2014-09-03T02:22:22.149895+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path="/" host=stark-wildwood-4373.herokuapp.com request_id=adcb
f705-d59b-4267-96ed-6beccafbb804 fwd="130.132.173.192" dyno= connect= service= s
tatus=503 bytes=
2014-09-03T02:27:41.888659+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path="/" host=stark-wildwood-4373.herokuapp.com request_id=f0ca
3a90-2fa4-4caa-a8d4-6117a5d2a1d4 fwd="130.132.173.192" dyno= connect= service= s
tatus=503 bytes=
2014-09-03T02:35:36.956599+00:00 heroku[api]: Scale to web=1 by xxxxxxxxxxx.xxx#
yale.edu
2014-09-03T02:35:43.542084+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path="/" host=stark-wildwood-4373.herokuapp.com request_id=3e14
7f38-6946-49bd-a616-5d4476cfb125 fwd="130.132.173.192" dyno= connect= service= s
tatus=503 bytes=
2014-09-03T03:11:23.633738+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=GET path="/" host=stark-wildwood-4373.herokuapp.com request_id=73fd
0f48-3813-4cdf-883c-89c2c07d891a fwd="130.132.173.192" dyno= connect= service= s
tatus=503 bytes=
2014-09-03T03:18:30.294561+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=HEAD path="/" host=stark-wildwood-4373.herokuapp.com request_id=a12
3c40c-94c2-460b-906d-8a2cc5af1af5 fwd="216.46.190.189, 10.160.107.8,50.18.102.13
2" dyno= connect= service= status=503 bytes=
2014-09-03T03:18:30.226691+00:00 heroku[router]: at=error code=H10 desc="App cra
shed" method=HEAD path="/" host=stark-wildwood-4373.herokuapp.com request_id=8f5
1f503-d0ef-476a-ae29-c5aa6c4696bd fwd="216.46.175.33, 10.166.163.136,50.18.102.1
32" dyno= connect= service= status=503 bytes=
2014-09-03T03:21:35+00:00 heroku[slug-compiler]: Slug compilation started
2014-09-03T03:21:58+00:00 heroku[slug-compiler]: Slug compilation failed: failed
to compile Ruby app
The /config/application.rb file is given as follows:
require File.expand_path('../boot', __FILE__)
# Pick the frameworks you want:
require "active_record/railtie"
require "action_controller/railtie"
require "action_mailer/railtie"
require "sprockets/railtie"
# require "rails/test_unit/railtie"
# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)
module SampleApp
class Application < Rails::Application
# Settings in config/environments/* take precedence over those specified here.
# Application configuration should go into files in config/initializers
# -- all .rb files in that directory are automatically loaded.
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
# config.time_zone = 'Central Time (US & Canada)'
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
# config.i18n.default_locale = :de
config.assets.initialize_on_precompile = false
config.assets.precompile += %w(*.png *.jpg *.jpeg *.gif)
end
end
I apologize for this monstrous block of errors, but I'm really stuck here. If any more information is needed, I will be more than happy to provide. Any help is greatly appreciated.
So I'm using Rails 4.0 and Ruby 2.0. My app works locally and I'm just trying to push it to Heroku. When I push it, my terminal indicates that everything worked. However, when I run "Heroku open", I get this error message:
"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."
So I check my Heroku logs and get this:
2013-10-09T18:11:04+00:00 heroku[slug-compiler]: Slug compilation failed: failed to compile Ruby/Rails app
2013-10-09T18:44:51+00:00 heroku[slug-compiler]: Slug compilation started
2013-10-09T18:52:38.087581+00:00 heroku[web.1]: Idling
2013-10-09T18:52:42.873303+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2013-10-09T18:52:44.057184+00:00 app[web.1]: /app/vendor/ruby-1.9.2/lib/ruby/1.9.1/webrick/server.rb:90:in `select'
2013-10-09T18:52:44.057184+00:00 app[web.1]: [2013-10-09 18:52:44] ERROR SignalException: SIGTERM
2013-10-09T18:52:52.698902+00:00 heroku[web.1]: Error R12 (Exit timeout) -> At least one process failed to exit within 10 seconds of SIGTERM
2013-10-09T18:52:52.699100+00:00 heroku[web.1]: Stopping remaining processes with SIGKILL
2013-10-09T18:52:55.089017+00:00 heroku[web.1]: Process exited with status 137
2013-10-09T18:52:55.117506+00:00 heroku[web.1]: State changed from up to down
2013-10-09T19:09:30+00:00 heroku[slug-compiler]: Slug compilation started
2013-10-09T19:09:56+00:00 heroku[slug-compiler]: Slug compilation failed: failed to compile Ruby/Rails app
2013-10-09T19:12:56+00:00 heroku[slug-compiler]: Slug compilation started
2013-10-09T19:13:19+00:00 heroku[slug-compiler]: Slug compilation failed: failed to compile Ruby/Rails app
2013-10-09T19:14:39+00:00 heroku[slug-compiler]: Slug compilation started
2013-10-09T19:15:08+00:00 heroku[slug-compiler]: Slug compilation failed: failed to compile Ruby/Rails app
2013-10-09T19:17:15+00:00 heroku[slug-compiler]: Slug compilation started
2013-10-09T19:17:43+00:00 heroku[slug-compiler]: Slug compilation failed: failed to compile Ruby/Rails app
2013-10-09T19:18:02+00:00 heroku[slug-compiler]: Slug compilation started
2013-10-09T19:18:24+00:00 heroku[slug-compiler]: Slug compilation failed: failed to compile Ruby/Rails app
2013-10-09T19:20:12+00:00 heroku[slug-compiler]: Slug compilation started
2013-10-09T19:21:40.262707+00:00 heroku[web.1]: State changed from down to starting
2013-10-09T19:21:40+00:00 heroku[slug-compiler]: Slug compilation finished
2013-10-09T19:21:45.164416+00:00 heroku[web.1]: Starting process with command `bin/rails server -p 51664 -e $RAILS_ENV`
2013-10-09T19:21:45.824512+00:00 app[web.1]: bash: bin/rails: No such file or directory
2013-10-09T19:21:47.372719+00:00 heroku[web.1]: State changed from starting to crashed
2013-10-09T19:21:47.374233+00:00 heroku[web.1]: State changed from crashed to starting
2013-10-09T19:21:47.360556+00:00 heroku[web.1]: Process exited with status 127
2013-10-09T19:21:52.782769+00:00 heroku[web.1]: Starting process with command `bin/rails server -p 21782 -e $RAILS_ENV`
2013-10-09T19:21:53.632718+00:00 app[web.1]: bash: bin/rails: No such file or directory
2013-10-09T19:21:55.247743+00:00 heroku[web.1]: Process exited with status 127
2013-10-09T19:21:55.260010+00:00 heroku[web.1]: State changed from starting to crashed
2013-10-09T19:22:00.902528+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
2013-10-09T19:22:15.746476+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
2013-10-09T19:22:19.270286+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
2013-10-09T19:22:19.314670+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
2013-10-09T19:22:17.799045+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
2013-10-09T19:24:19.549828+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
2013-10-09T19:24:22.196517+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
2013-10-09T19:24:22.302682+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
2013-10-09T19:22:19.122401+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
2013-10-09T19:22:17.689844+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
2013-10-09T19:25:40.152185+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
2013-10-09T19:25:40.254083+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
2013-10-09T19:22:18.422342+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
2013-10-09T19:25:48.595371+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/simulation host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
2013-10-09T19:25:48.706113+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
2013-10-09T19:24:19.441344+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
2013-10-09T19:29:30.447734+00:00 heroku[web.1]: State changed from crashed to starting
2013-10-09T19:29:39.212672+00:00 heroku[web.1]: Starting process with command `bin/rails server -p 8011 -e $RAILS_ENV`
2013-10-09T19:29:40.275800+00:00 app[web.1]: bash: bin/rails: No such file or directory
2013-10-09T19:29:41.536523+00:00 heroku[web.1]: Process exited with status 127
2013-10-09T19:29:41.553119+00:00 heroku[web.1]: State changed from starting to crashed
2013-10-09T19:29:43.142915+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
2013-10-09T19:29:49.393166+00:00 heroku[web.1]: Error R99 (Platform error) -> Failed to launch the dyno within 10 seconds
2013-10-09T19:29:49.393401+00:00 heroku[web.1]: Stopping process with SIGKILL
2013-10-09T19:30:32.885333+00:00 heroku[api]: Starting process with command `bundle exec rake db:migrate` by benjamin_clayman#alumni.brown.edu
2013-10-09T19:30:40.320116+00:00 heroku[run.5508]: Awaiting client
2013-10-09T19:30:40.377694+00:00 heroku[run.5508]: Starting process with command `bundle exec rake db:migrate`
2013-10-09T19:30:41.612272+00:00 heroku[run.5508]: State changed from starting to up
2013-10-09T19:30:51.132253+00:00 heroku[run.5508]: Process exited with status 0
2013-10-09T19:30:51.164260+00:00 heroku[run.5508]: State changed from up to complete
2013-10-09T19:31:07.432378+00:00 heroku[api]: Starting process with command `bundle exec rake db:seed` by benjamin_clayman#alumni.brown.edu
2013-10-09T19:31:14.013906+00:00 heroku[run.1827]: Awaiting client
2013-10-09T19:31:14.080713+00:00 heroku[run.1827]: Starting process with command `bundle exec rake db:seed`
2013-10-09T19:31:15.414436+00:00 heroku[run.1827]: State changed from starting to up
2013-10-09T19:31:19.041011+00:00 heroku[run.1827]: Process exited with status 1
2013-10-09T19:31:19.056727+00:00 heroku[run.1827]: State changed from up to complete
2013-10-09T19:32:08.619874+00:00 heroku[web.1]: State changed from crashed to starting
2013-10-09T19:32:11.337276+00:00 heroku[api]: Starting process with command `bundle exec rake db:seed` by benjamin_clayman#alumni.brown.edu
2013-10-09T19:32:14.419913+00:00 heroku[web.1]: Starting process with command `bin/rails server -p 10397 -e $RAILS_ENV`
2013-10-09T19:32:15.072660+00:00 app[web.1]: bash: bin/rails: No such file or directory
2013-10-09T19:32:16.194007+00:00 heroku[web.1]: Process exited with status 127
2013-10-09T19:32:16.208094+00:00 heroku[web.1]: State changed from starting to crashed
2013-10-09T19:32:21.776095+00:00 heroku[run.5181]: Awaiting client
2013-10-09T19:32:21.872776+00:00 heroku[run.5181]: Starting process with command `bundle exec rake db:seed`
2013-10-09T19:32:22.981513+00:00 heroku[run.5181]: State changed from starting to up
2013-10-09T19:32:27.556289+00:00 heroku[run.5181]: Client connection closed. Sending SIGHUP to all processes
2013-10-09T19:32:29.032961+00:00 heroku[run.5181]: Process exited with status 1
2013-10-09T19:32:29.087562+00:00 heroku[run.5181]: State changed from up to complete
2013-10-09T19:42:43.713377+00:00 heroku[web.1]: State changed from crashed to starting
2013-10-09T19:42:48.645184+00:00 heroku[web.1]: Starting process with command `bin/rails server -p 4793 -e $RAILS_ENV`
2013-10-09T19:42:49.240477+00:00 app[web.1]: bash: bin/rails: No such file or directory
2013-10-09T19:42:50.587908+00:00 heroku[web.1]: Process exited with status 127
2013-10-09T19:42:50.602229+00:00 heroku[web.1]: State changed from starting to crashed
2013-10-09T19:42:46+00:00 heroku[slug-compiler]: Slug compilation started
2013-10-09T19:43:18.483470+00:00 heroku[api]: Deploy 22ad50c by benjamin_clayman#alumni.brown.edu
2013-10-09T19:43:18.496059+00:00 heroku[api]: Release v19 created by benjamin_clayman#alumni.brown.edu
2013-10-09T19:43:18.648420+00:00 heroku[web.1]: State changed from crashed to starting
2013-10-09T19:43:18+00:00 heroku[slug-compiler]: Slug compilation finished
2013-10-09T19:43:24.039482+00:00 heroku[web.1]: Starting process with command `bin/rails server -p 37273 -e $RAILS_ENV`
2013-10-09T19:43:24.917501+00:00 app[web.1]: bash: bin/rails: No such file or directory
2013-10-09T19:43:26.321155+00:00 heroku[web.1]: Process exited with status 127
2013-10-09T19:43:26.339466+00:00 heroku[web.1]: State changed from starting to crashed
2013-10-09T19:43:34.291081+00:00 heroku[web.1]: Error R99 (Platform error) -> Failed to launch the dyno within 10 seconds
2013-10-09T19:43:34.291514+00:00 heroku[web.1]: Stopping process with SIGKILL
2013-10-09T19:43:54.377170+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
2013-10-09T19:43:57.816484+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
2013-10-09T19:43:58.025631+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
2013-10-09T19:43:59.803749+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
2013-10-09T19:43:59.891121+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=rocky-brushlands-1229.herokuapp.com fwd="72.74.241.162" dyno= connect= service= status=503 bytes=
It looks like the app is crashing (error code of H10) but I have no idea why.
Any help would be greatly appreciated; have been trying to get this app online for way too long!
Thanks,
Mariogs
So these are the logs when I try to load the "/ladder" page:
2013-10-10T20:14:00.495559+00:00 app[web.1]: Started GET "/ladder" for 75.69.143.242 at 2013-10-10 20:14:00 +0000
2013-10-10T20:14:00.508841+00:00 app[web.1]: Processing by PagesController#ladder as HTML
2013-10-10T20:14:00.508841+00:00 app[web.1]: Processing by PagesController#ladder as HTML
2013-10-10T20:14:00.495559+00:00 app[web.1]: Started GET "/ladder" for 75.69.143.242 at 2013-10-10 20:14:00 +0000
2013-10-10T20:14:00.529363+00:00 app[web.1]: Rendered pages/ladder.html.haml within layouts/application (0.4ms)
2013-10-10T20:14:00.529363+00:00 app[web.1]: Rendered pages/ladder.html.haml within layouts/application (0.4ms)
2013-10-10T20:14:00.555095+00:00 app[web.1]: Rendered layouts/_nav.html.erb (0.5ms)
2013-10-10T20:14:00.562435+00:00 app[web.1]: Rendered layouts/_footer.html.erb (0.1ms)
2013-10-10T20:14:00.562435+00:00 app[web.1]: Rendered layouts/_footer.html.erb (0.1ms)
2013-10-10T20:14:00.555095+00:00 app[web.1]: Rendered layouts/_nav.html.erb (0.5ms)
2013-10-10T20:14:00.565824+00:00 app[web.1]: Completed 200 OK in 57ms (Views: 37.3ms | ActiveRecord: 12.4ms)
2013-10-10T20:14:00.565824+00:00 app[web.1]: Completed 200 OK in 57ms (Views: 37.3ms | ActiveRecord: 12.4ms)
2013-10-10T20:14:00.576713+00:00 heroku[router]: at=info method=GET path=/ladder host=rocky-brushlands-1229.herokuapp.com fwd="75.69.143.242" dyno=web.1 connect=1ms service=94ms status=304 bytes=0
2013-10-10T20:14:01.000519+00:00 heroku[router]: at=info method=GET path=/assets/knitting250px.png host=rocky-brushlands-1229.herokuapp.com fwd="75.69.143.242" dyno=web.1 connect=0ms service=9ms status=404 bytes=728
2013-10-10T20:14:00.999368+00:00 app[web.1]:
2013-10-10T20:14:00.998228+00:00 app[web.1]: Started GET "/assets/knitting250px.png" for 75.69.143.242 at 2013-10-10 20:14:00 +0000
2013-10-10T20:14:00.999368+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/assets/knitting250px.png"):
2013-10-10T20:14:00.999368+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
2013-10-10T20:14:00.999368+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2013-10-10T20:14:00.999368+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/rack/logger.rb:21:in `block in call'
2013-10-10T20:14:00.999368+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/rack/logger.rb:38:in `call_app'
2013-10-10T20:14:00.999368+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/tagged_logging.rb:67:in `block in tagged'
2013-10-10T20:14:00.999368+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/tagged_logging.rb:67:in `tagged'
2013-10-10T20:14:00.999590+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2013-10-10T20:14:00.999590+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
2013-10-10T20:14:00.999590+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2013-10-10T20:14:00.999590+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/static.rb:64:in `call'
2013-10-10T20:14:00.999590+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/engine.rb:511:in `call'
2013-10-10T20:14:00.999590+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/application.rb:97:in `call'
2013-10-10T20:14:00.999590+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
2013-10-10T20:14:00.999590+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
2013-10-10T20:14:00.999730+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2013-10-10T20:14:00.999730+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2013-10-10T20:14:00.999368+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/rack/logger.rb:21:in `call'
2013-10-10T20:14:00.999368+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/tagged_logging.rb:25:in `tagged'
2013-10-10T20:14:00.996893+00:00 app[web.1]: Started GET "/assets/knitting250px.png" for 75.69.143.242 at 2013-10-10 20:14:00 +0000
2013-10-10T20:14:00.999590+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
2013-10-10T20:14:00.999730+00:00 app[web.1]:
2013-10-10T20:14:00.999730+00:00 app[web.1]:
2013-10-10T20:14:00.999730+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/assets/knitting250px.png"):
2013-10-10T20:14:00.999730+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2013-10-10T20:14:00.999590+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
2013-10-10T20:14:00.999730+00:00 app[web.1]:
2013-10-10T20:14:00.999730+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
2013-10-10T20:14:00.999730+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/rack/logger.rb:38:in `call_app'
2013-10-10T20:14:01.000144+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/tagged_logging.rb:67:in `tagged'
2013-10-10T20:14:01.000144+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/rack/logger.rb:21:in `call'
2013-10-10T20:14:01.000144+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2013-10-10T20:14:01.000144+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
2013-10-10T20:14:01.000144+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
2013-10-10T20:14:01.000144+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/tagged_logging.rb:67:in `block in tagged'
2013-10-10T20:14:01.000144+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/tagged_logging.rb:25:in `tagged'
2013-10-10T20:14:01.000144+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/rack/logger.rb:21:in `block in call'
2013-10-10T20:14:00.999730+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
2013-10-10T20:14:01.000286+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/engine.rb:511:in `call'
2013-10-10T20:14:01.000286+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
2013-10-10T20:14:01.000144+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2013-10-10T20:14:01.000286+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/application.rb:97:in `call'
2013-10-10T20:14:01.000286+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
2013-10-10T20:14:01.000286+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2013-10-10T20:14:01.000144+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/static.rb:64:in `call'
2013-10-10T20:14:01.000286+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
2013-10-10T20:14:01.000286+00:00 app[web.1]:
2013-10-10T20:14:01.000286+00:00 app[web.1]:
2013-10-10T20:14:01.074531+00:00 heroku[router]: at=info method=GET path=/favicon.ico host=rocky-brushlands-1229.herokuapp.com fwd="75.69.143.242" dyno=web.1 connect=0ms service=7ms status=304 bytes=0
2013-10-10T20:14:01.000286+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2013-10-10T20:14:01.000286+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
2013-10-10T20:14:00.647780+00:00 heroku[router]: at=info method=GET path=/assets/application-a792af9cec9481fd62c86dd7b997071b.css host=rocky-brushlands-1229.herokuapp.com fwd="75.69.143.242" dyno=web.1 connect=1ms service=17ms status=304 bytes=0
I have no idea why the #ladder instance variable seems to be empty...
Error is clear:
bash: bin/rails: No such file or directory
Rails 4 requires a bin directory
It even provides a handy rake task for you
rake rails:update:bin
In future consult the Heroku documentation
Rails 4 on Heroku
My app worked fine on my localhost and on Heroku until I tried changing the name of my project on Heroku through their website, not the CLI. Now, the app still works on my localhost but I get an Application Error and the message, 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.
Additionally, I was running Ruby Rails 3.2 and updated to 4.0 in the middle of my project to stay as up to date as possible but it's made the whole process much more complicated.
I just started coding and had this project almost finished - just needed to get it synced up with a host and my custom domain and it all went to crap :/ Any help would be very appreciated.
Here is what I get when I run Heroku logs --tail:
2013-10-19T04:45:55.858947+00:00 heroku[run.8369]: State changed from starting to up
2013-10-19T04:46:00.106324+00:00 heroku[run.8369]: Process exited with status 0
2013-10-19T04:46:00.144464+00:00 heroku[run.8369]: State changed from up to complete
2013-10-19T04:46:06.146445+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=lit-basin-5401.herokuapp.com fwd="98.197.58.199" dyno= connect= service= status=503 bytes=
2013-10-19T04:46:06.983600+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=lit-basin-5401.herokuapp.com fwd="98.197.58.199" dyno= connect= service= status=503 bytes=
2013-10-19T04:46:06.757189+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=lit-basin-5401.herokuapp.com fwd="98.197.58.199" dyno= connect= service= status=503 bytes=
2013-10-19T04:49:11.041661+00:00 heroku[web.1]: State changed from crashed to starting
2013-10-19T04:49:16.507236+00:00 heroku[web.1]: Starting process with command `bundle exec
rails server thin -p 51640 -e $RACK_ENV`
2013-10-19T04:49:19.896050+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `block in require'
2013-10-19T04:49:19.896050+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler.rb:20:in `block in get'
2013-10-19T04:49:19.896050+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler.rb:20:in `inject'
2013-10-19T04:49:19.896050+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `require': cannot load such file -- thin (LoadError)
2013-10-19T04:49:19.896050+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:213:in `load_dependency'
2013-10-19T04:49:19.896050+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `require'
2013-10-19T04:49:19.896050+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/thin.rb:1:in `<top (required)>'
2013-10-19T04:49:19.896050+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler.rb:20:in `const_get'
2013-10-19T04:49:19.896050+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler.rb:20:in `each'
2013-10-19T04:49:19.896050+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler.rb:20:in `get'
2013-10-19T04:49:19.896278+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/commands/server.rb:63:in `start'
2013-10-19T04:49:19.896278+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/commands.rb:78:in `block in <top (required)>'
2013-10-19T04:49:19.896278+00:00 app[web.1]: from bin/rails:4:in `<main>'
2013-10-19T04:49:19.896278+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:268:in `server'
2013-10-19T04:49:19.896278+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/commands.rb:73:in `<top (required)>'
2013-10-19T04:49:19.896278+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/commands.rb:73:in `tap'
2013-10-19T04:49:19.896278+00:00 app[web.1]: from bin/rails:4:in `require'
2013-10-19T04:49:19.911301+00:00 app[web.1]: Exiting
2013-10-19T04:49:21.448808+00:00 heroku[web.1]: Process exited with status 1
2013-10-19T04:49:21.452988+00:00 heroku[web.1]: State changed from starting to crashed
2013-10-19T05:05:09.305097+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=www.crt.com fwd="98.197.58.199" dyno= connect= service= status=503 bytes=
2013-10-19T05:05:09.911911+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=www.crt.com fwd="98.197.58.199" dyno= connect= service= status=503 bytes=
2013-10-19T05:05:10.312640+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=www.crt.com fwd="98.197.58.199" dyno= connect= service= status=503 bytes=
2013-10-19T05:05:17.288098+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=crt.herokuapp.com fwd="98.197.58.199" dyno= connect= service= status=503 bytes=
2013-10-19T05:05:18.112302+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=crt.herokuapp.com fwd="98.197.58.199" dyno= connect= service= status=503 bytes=
2013-10-19T05:05:18.535047+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=crt.herokuapp.com fwd="98.197.58.199" dyno= connect= service= status=503 bytes=
2013-10-19T05:07:35+00:00 heroku[slug-compiler]: Slug compilation started
2013-10-19T05:08:04.559035+00:00 heroku[api]: Deploy ce44379 by sunghoster#gmail.com
2013-10-19T05:08:04.583465+00:00 heroku[api]: Release v17 created by sunghoster#gmail.com
2013-10-19T05:08:04.830493+00:00 heroku[web.1]: State changed from crashed to starting
2013-10-19T05:08:08.815396+00:00 heroku[web.1]: Starting process with command `bundle exec rails server thin -p 58476 -e $RACK_ENV`
2013-10-19T05:08:04+00:00 heroku[slug-compiler]: Slug compilation finished
2013-10-19T05:08:11.044510+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `require': cannot load such file -- thin (LoadError)
2013-10-19T05:08:11.044510+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `block in require'
2013-10-19T05:08:11.044510+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/thin.rb:1:in `<top (required)>'
2013-10-19T05:08:11.044510+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:213:in `load_dependency'
2013-10-19T05:08:11.044510+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler.rb:20:in `const_get'
2013-10-19T05:08:11.044510+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `require'
2013-10-19T05:08:11.044708+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/commands.rb:73:in `tap'
2013-10-19T05:08:11.044510+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler.rb:20:in `block in get'
2013-10-19T05:08:11.044708+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/commands.rb:73:in `<top (required)>'
2013-10-19T05:08:11.044510+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler.rb:20:in `inject'
2013-10-19T05:08:11.044708+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:268:in `server'
2013-10-19T05:08:11.044708+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/commands/server.rb:63:in `start'
2013-10-19T05:08:11.044708+00:00 app[web.1]: from bin/rails:4:in `<main>'
2013-10-19T05:08:11.044708+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/commands.rb:78:in `block in <top (required)>'
2013-10-19T05:08:11.044510+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler.rb:20:in `each'
2013-10-19T05:08:11.044708+00:00 app[web.1]: from bin/rails:4:in `require'
2013-10-19T05:08:11.044510+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler.rb:20:in `get'
2013-10-19T05:08:11.057865+00:00 app[web.1]: Exiting
2013-10-19T05:08:12.143057+00:00 heroku[web.1]: Process exited with status 1
2013-10-19T05:08:12.152853+00:00 heroku[web.1]: State changed from starting to crashed
2013-10-19T05:08:12.154304+00:00 heroku[web.1]: State changed from crashed to starting
2013-10-19T05:08:16.644957+00:00 heroku[web.1]: Starting process with command `bundle exec rails server thin -p 44473 -e $RACK_ENV`
2013-10-19T05:08:20.604410+00:00 heroku[web.1]: State changed from starting to crashed
2013-10-19T05:08:22.393304+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=crt.herokuapp.com fwd="98.197.58.199" dyno= connect= service= status=503 bytes=
2013-10-19T05:08:22.599461+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=crt.herokuapp.com fwd="98.197.58.199" dyno= connect= service= status=503 bytes=
2013-10-19T05:08:19.316804+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler.rb:20:in `block in get'
2013-10-19T05:08:19.317076+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:268:in `server'
2013-10-19T05:08:19.316804+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler.rb:20:in `const_get'
2013-10-19T05:08:19.317076+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/commands.rb:73:in `tap'
2013-10-19T05:08:19.316804+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `require': cannot load such file -- thin (LoadError)
2013-10-19T05:08:19.316804+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/thin.rb:1:in `<top (required)>'
2013-10-19T05:08:19.316804+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:213:in `load_dependency'
2013-10-19T05:08:19.316804+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler.rb:20:in `each'
2013-10-19T05:08:19.317076+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/commands.rb:78:in `block in <top (required)>'
2013-10-19T05:08:19.317076+00:00 app[web.1]: from bin/rails:4:in `<main>'
2013-10-19T05:08:19.316804+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler.rb:20:in `inject'
2013-10-19T05:08:19.317076+00:00 app[web.1]: from bin/rails:4:in `require'
2013-10-19T05:08:19.317076+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/commands.rb:73:in `<top (required)>'
2013-10-19T05:08:19.329850+00:00 app[web.1]: Exiting
2013-10-19T05:08:19.316804+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `require'
2013-10-19T05:08:19.316804+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `block in require'
2013-10-19T05:08:19.316804+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler.rb:20:in `get'
2013-10-19T05:08:19.317076+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/commands/server.rb:63:in `start'
2013-10-19T05:08:20.589816+00:00 heroku[web.1]: Process exited with status 1
2013-10-19T05:08:21.758023+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=crt.herokuapp.com fwd="98.197.58.199" dyno= connect= service= status=503 bytes=
2013-10-19T05:09:28.445030+00:00 heroku[api]: Starting process with command `bundle exec
rake db:migrate` by sunghoster#gmail.com
2013-10-19T05:09:32.830791+00:00 heroku[run.1104]: Awaiting client
2013-10-19T05:09:32.878270+00:00 heroku[run.1104]: Starting process with command `bundle exec rake db:migrate`
2013-10-19T05:09:33.696273+00:00 heroku[run.1104]: State changed from starting to up
2013-10-19T05:09:35.512494+00:00 heroku[run.1104]: Client connection closed. Sending SIGHUP to all processes
2013-10-19T05:09:36.469621+00:00 heroku[run.1104]: Process exited with status 0
2013-10-19T05:09:36.484133+00:00 heroku[run.1104]: State changed from up to complete
2013-10-19T05:09:41.437949+00:00 heroku[api]: Starting process with command `bundle exec rake db:migrate` by sunghoster#gmail.com
2013-10-19T05:09:46.113833+00:00 heroku[run.8756]: Awaiting client
2013-10-19T05:09:46.146484+00:00 heroku[run.8756]: Starting process with command `bundle exec rake db:migrate`
2013-10-19T05:09:46.930509+00:00 heroku[run.8756]: State changed from starting to up
2013-10-19T05:09:50.254973+00:00 heroku[run.8756]: Process exited with status 0
2013-10-19T05:09:50.264019+00:00 heroku[run.8756]: State changed from up to complete
2013-10-19T05:09:56.581611+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=crt.herokuapp.com fwd="98.197.58.199" dyno= connect= service= status=503 bytes=
2013-10-19T05:09:57.396220+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=crt.herokuapp.com fwd="98.197.58.199" dyno= connect= service= status=503 bytes=
2013-10-19T05:09:57.702612+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=crt.herokuapp.com fwd="98.197.58.199" dyno= connect= service= status=503 bytes=
Changing the name in Heroku does nothing -- but you'll have to change it in your local git repo with these lines:
git remote rm heroku
heroku git:remote -a newname
As for your errors, it seems you've got some big errors within your app. As #KepaniHaole said, you seem to have "thin" errors - do you have the gem in your GemFile?
I'm sorry I know that lots of people had asked similar questions but in all the different answers I've seen there were no working ones.
I'am curently following this tutorial : http://ruby.railstutorial.org/ruby-on-rails-tutorial-book.
Here is my app : https://github.com/melki/first_app
Here is my Gemfile :
# A sample Gemfile
source "https://rubygems.org"
# gem "rails"
ruby '1.9.3'
gem "heroku"
gem 'rails', '3.2.13'
group :development do
gem 'sqlite3'
end
group :production do
gem 'pg'
gem 'thin'
end
that's a simple one...
Here are my logs from Heroku :
2013-04-13T17:37:27.600820+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/bin/thin:6:in `<top (required)>'
2013-04-13T17:37:27.600820+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/bin/thin:23:in `load'
2013-04-13T17:37:27.600820+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/bin/thin:23:in `<main>'
2013-04-13T17:37:28.895845+00:00 heroku[web.1]: Process exited with status 1
2013-04-13T17:37:28.909457+00:00 heroku[web.1]: State changed from starting to crashed
2013-04-13T17:47:24.873811+00:00 heroku[web.1]: State changed from crashed to starting
2013-04-13T17:47:26.701802+00:00 heroku[web.1]: Starting process with command `bundle exec thin start -R config.ru -e $RAILS_ENV -p 37586`
2013-04-13T17:47:28.040408+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/bin/thin:23:in `<main>'
2013-04-13T17:47:28.039667+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/rack/adapter/loader.rb:32:in `read': No such file or directory - config.ru (Errno::ENOENT)
2013-04-13T17:47:28.039914+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/controllers/controller.rb:181:in `load_rackup_config'
2013-04-13T17:47:28.040065+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/runner.rb:187:in `run_command'
2013-04-13T17:47:28.039990+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/controllers/controller.rb:71:in `start'
2013-04-13T17:47:28.040166+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/runner.rb:152:in `run!'
2013-04-13T17:47:28.039836+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/rack/adapter/loader.rb:32:in `load'
2013-04-13T17:47:28.040332+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/bin/thin:23:in `load'
2013-04-13T17:47:28.040244+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/bin/thin:6:in `<top (required)>'
2013-04-13T17:47:29.402379+00:00 heroku[web.1]: Process exited with status 1
2013-04-13T17:47:29.416139+00:00 heroku[web.1]: State changed from starting to crashed
2013-04-13T17:48:34.162437+00:00 heroku[api]: Starting process with command `bundle exec rake db:migrate` by melchior.toldi#gmail.com
2013-04-13T17:48:36.892769+00:00 heroku[run.2268]: Awaiting client
2013-04-13T17:48:36.892769+00:00 heroku[run.2268]: Starting process with command `bundle exec rake db:migrate`
2013-04-13T17:48:37.791304+00:00 heroku[run.2268]: State changed from starting to up
2013-04-13T17:48:40.807677+00:00 heroku[run.2268]: Process exited with status 1
2013-04-13T17:48:40.842046+00:00 heroku[run.2268]: State changed from up to complete
2013-04-13T17:49:37.705672+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=radiant-river-7942.herokuapp.com fwd="82.247.99.235" dyno= connect= service= status=503 bytes=
2013-04-13T17:49:38.049712+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=radiant-river-7942.herokuapp.com fwd="82.247.99.235" dyno= connect= service= status=503 bytes=
2013-04-13T17:57:36.956393+00:00 heroku[web.1]: Starting process with command `bundle exec thin start -R config.ru -e $RAILS_ENV -p 8234`
2013-04-13T17:57:34.713361+00:00 heroku[web.1]: State changed from crashed to starting
2013-04-13T17:57:38.537721+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/runner.rb:152:in `run!'
2013-04-13T17:57:38.537721+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/controllers/controller.rb:71:in `start'
2013-04-13T17:57:38.537721+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/bin/thin:23:in `load'
2013-04-13T17:57:38.537721+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/rack/adapter/loader.rb:32:in `load'
2013-04-13T17:57:38.537721+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/controllers/controller.rb:181:in `load_rackup_config'
2013-04-13T17:57:38.537721+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/rack/adapter/loader.rb:32:in `read': No such file or directory - config.ru (Errno::ENOENT)
2013-04-13T17:57:38.537721+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/bin/thin:6:in `<top (required)>'
2013-04-13T17:57:38.537721+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/bin/thin:23:in `<main>'
2013-04-13T17:57:38.537721+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/runner.rb:187:in `run_command'
2013-04-13T17:57:39.927361+00:00 heroku[web.1]: State changed from starting to crashed
2013-04-13T17:57:43.593400+00:00 heroku[web.1]: Process exited with status 1
2013-04-13T18:07:55.320873+00:00 heroku[web.1]: State changed from crashed to starting
2013-04-13T18:07:58.034529+00:00 heroku[web.1]: Starting process with command `bundle exec thin start -R config.ru -e $RAILS_ENV -p 4633`
2013-04-13T18:07:59.616225+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/rack/adapter/loader.rb:32:in `read': No such file or directory - config.ru (Errno::ENOENT)
2013-04-13T18:07:59.616225+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/rack/adapter/loader.rb:32:in `load'
2013-04-13T18:07:59.616225+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/controllers/controller.rb:181:in `load_rackup_config'
2013-04-13T18:07:59.616225+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/runner.rb:187:in `run_command'
2013-04-13T18:07:59.616225+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/controllers/controller.rb:71:in `start'
2013-04-13T18:07:59.616225+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/runner.rb:152:in `run!'
2013-04-13T18:07:59.616225+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/bin/thin:23:in `load'
2013-04-13T18:07:59.616225+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/bin/thin:23:in `<main>'
2013-04-13T18:07:59.616225+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/bin/thin:6:in `<top (required)>'
2013-04-13T18:08:01.041217+00:00 heroku[web.1]: State changed from starting to crashed
2013-04-13T18:08:01.026363+00:00 heroku[web.1]: Process exited with status 1
2013-04-13T18:08:15.278264+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=radiant-river-7942.herokuapp.com fwd="188.167.200.167" dyno= connect= service= status=503 bytes=
2013-04-13T18:08:16.189360+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=radiant-river-7942.herokuapp.com fwd="188.167.200.167" dyno= connect= service= status=503 bytes=
2013-04-13T18:08:16.328385+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=radiant-river-7942.herokuapp.com fwd="188.167.200.167" dyno= connect= service= status=503 bytes=
2013-04-13T18:10:14.449584+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=radiant-river-7942.herokuapp.com fwd="64.237.39.250" dyno= connect= service= status=503 bytes=
2013-04-13T18:18:27.461322+00:00 heroku[web.1]: State changed from crashed to starting
2013-04-13T18:18:29.173061+00:00 heroku[web.1]: Starting process with command `bundle exec thin start -R config.ru -e $RAILS_ENV -p 33230`
2013-04-13T18:18:30.386288+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/rack/adapter/loader.rb:32:in `load'
2013-04-13T18:18:30.386381+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/controllers/controller.rb:181:in `load_rackup_config'
2013-04-13T18:18:30.386562+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/runner.rb:187:in `run_command'
2013-04-13T18:18:30.386957+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/bin/thin:23:in `<main>'
2013-04-13T18:18:30.386476+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5
.1/lib/thin/controllers/controller.rb:71:in `start'
2013-04-13T18:18:30.386866+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/bin/thin:23:in `load'
2013-04-13T18:18:30.386765+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/bin/thin:6:in `<top (required)>'
2013-04-13T18:18:30.386129+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/rack/adapter/loader.rb:32:in `read': No such file or directory - config.ru (Errno::ENOENT)
2013-04-13T18:18:30.386674+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/runner.rb:152:in `run!'
2013-04-13T18:18:31.676857+00:00 heroku[web.1]: Process exited with status 1
2013-04-13T18:18:31.684586+00:00 heroku[web.1]: State changed from starting to crashed
2013-04-13T18:29:07.524843+00:00 heroku[web.1]: State changed from crashed to starting
2013-04-13T18:29:09.507194+00:00 heroku[web.1]: Starting process with command `bundle exec thin start -R config.ru -e $RAILS_ENV -p 26133`
2013-04-13T18:29:11.221741+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/controllers/controller.rb:71:in `start'
2013-04-13T18:29:11.221817+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/runner.rb:187:in `run_command'
2013-04-13T18:29:11.221566+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/rack/adapter/loader.rb:32:in `load'
2013-04-13T18:29:11.221968+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/bin/thin:6:in `<top (required)>'
2013-04-13T18:29:11.221373+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/rack/adapter/loader.rb:32:in `read': No such file or directory - config.ru (Errno::ENOENT)
2013-04-13T18:29:11.221892+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/runner.rb:152:in `run!'
2013-04-13T18:29:11.221662+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/controllers/controller.rb:181:in `load_rackup_config'
2013-04-13T18:29:11.222059+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/bin/thin:23:in `load'
2013-04-13T18:29:11.222137+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/bin/thin:23:in `<main>'
2013-04-13T18:29:12.554083+00:00 heroku[web.1]: State changed from starting to crashed
2013-04-13T18:29:12.547227+00:00 heroku[web.1]: Process exited with status 1
2013-04-13T18:29:35.422394+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=radiant-river-7942.herokuapp.com fwd="82.247.99.235" dyno= connect= service= status=503 bytes=
2013-04-13T18:29:35.704799+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=radiant-river-7942.herokuapp.com fwd="82.247.99.235" dyno= connect= service= status=503 bytes=
2013-04-13T18:29:39.570979+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=radiant-river-7942.herokuapp.com fwd="82.247.99.235" dyno= connect= service= status=503 bytes=
2013-04-13T18:29:39.851899+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=radiant-river-7942.herokuapp.com fwd="82.247.99.235" dyno= connect= service= status=503 bytes=
2013-04-13T18:39:46.195056+00:00 heroku[web.1]: State changed from crashed to starting
2013-04-13T18:39:47.796625+00:00 heroku[web.1]: Starting process with command `bundle exec thin start -R config.ru -e $RAILS_ENV -p 34436`
2013-04-13T18:39:48.942222+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/controllers/controller.rb:71:in `start'
2013-04-13T18:39:48.942148+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/controllers/controller.rb:181:in `load_rackup_config'
2013-04-13T18:39:48.941907+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/rack/adapter/loader.rb:32:in `read': No such file or directory - config.ru (Errno::ENOENT)
2013-04-13T18:39:48.942636+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/bin/thin:23:in `<main>'
2013-04-13T18:39:50.103490+00:00 heroku[web.1]: Process exited with status 1
2013-04-13T18:39:48.942560+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/bin/thin:23:in `load'
2013-04-13T18:39:50.115132+00:00 heroku[web.1]: State changed from starting to crashed
2013-04-13T18:39:48.942473+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/bin/thin:6:in `<top (required)>'
2013-04-13T18:39:48.942070+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/rack/adapter/loader.rb:32:in `load'
2013-04-13T18:39:48.942380+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/runner.rb:152:in `run!'
2013-04-13T18:39:48.942306+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/runner.rb:187:in `run_command'
2013-04-13T18:40:30.990826+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=radiant-river-7942.herokuapp.com fwd="82.247.99.235" dyno= connect= service= status=503 bytes=
2013-04-13T18:40:31.347409+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=radiant-river-7942.herokuapp.com fwd="82.247.99.235" dyno= connect= service= status=503 bytes=
When I type : Heroku ps
melki#melkunix:~/rails_projects/first_app$ heroku ps
=== web: `bundle exec rails server -p $PORT`
web.1: crashed 2013/04/13 18:46:03 (~ 5m ago)
And when I do :
heroku run rake db:migrate
I get :
melki#melkunix:~/rails_projects/first_app$ heroku run rake db:migrate
Running `rake db:migrate` attached to terminal... up, run.9445
rake aborted!
can't activate rails (= 2.3.14), already activated rails-3.2.13. Make sure all dependencies are added to Gemfile.
/app/vendor/bundle/ruby/1.9.1/gems/bundler- 1.3.2/lib/bundler/rubygems_integration.rb:224:in `block in replace_gem'
/app/config/boot.rb:60:in `load_rails_gem'
/app/config/boot.rb:54:in `load_initializer'
/app/config/boot.rb:38:in `run'
/app/config/boot.rb:11:in `boot!'
/app/config/boot.rb:114:in `<top (required)>'
/app/Rakefile:4:in `require'
/app/Rakefile:4:in `<top (required)>'
/app/vendor/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/rake_module.rb:25:in `load'
/app/vendor/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/rake_module.rb:25:in `load_rakefile'
/app/vendor/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:589:in `raw_load_rakefile'
/app/vendor/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:89:in `block in load_rakefile'
/app/vendor/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:160:in `standard_exception_handling'
/app/vendor/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:88:in `load_rakefile'
/app/vendor/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:72:in `block in run'
/app/vendor/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:160:in `standard_exception_handling'
/app/vendor/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:70:in `run'
(See full trace by running task with --trace)
And here is the app whith the error message : http://radiant-river-7942.herokuapp.com/
I stay at your disposition for any other file if that could help you.
Excuse my english.
Problem is with your Gem file. delete Gemfile.lock and run bundle install and push the code and run migrations.
You have already installed rails 2 and just added rails 3 to Gem file without
bundle update