2014-02-08 206 views
0

剛剛部署了Heroku的簡單Rails 3應用程序的最新版本,並且在嘗試啓動時它會一直崩潰。這個錯誤似乎是一些如何連接到日誌的「瘦」寶石或「heroku [router]:」部分。任何想法或建議將不勝感激?Heroku Rails 3應用程序崩潰

2014-02-05T06:24:38.338411+00:00 heroku[web.1]: State changed from starting to crashed 
2014-02-05T12:04:16.669527+00:00 heroku[web.1]: State changed from crashed to starting 
2014-02-05T12:04:20.601552+00:00 heroku[web.1]: Starting process with command `bundle 
exec thin start -R config.ru -e $RAILS_ENV -p 40314` 
2014-02-05T12:04:21.913325+00:00 app[web.1]: bundler: command not found: thin 
2014-02-05T12:04:21.913325+00:00 app[web.1]: Install missing gem executables with 
`bundle install` 
2014-02-05T12:04:23.263777+00:00 heroku[web.1]: Process exited with status 127 
2014-02-05T12:04:23.276036+00:00 heroku[web.1]: State changed from starting to crashed 
2014-02-05T17:50:56.718434+00:00 heroku[web.1]: State changed from crashed to starting 
2014-02-05T17:51:01.055269+00:00 heroku[web.1]: Starting process with command `bundle 
exec thin start -R config.ru -e $RAILS_ENV -p 6172` 
2014-02-05T17:51:02.712737+00:00 app[web.1]: Install missing 
gem executables with `bundle install` 
2014-02-05T17:51:02.712496+00:00 app[web.1]: bundler: command not found: thin 
2014-02-05T17:51:04.133893+00:00 heroku[web.1]: Process exited with status 127 
2014-02-05T17:51:04.150001+00:00 heroku[web.1]: State changed from starting to crashed 
2014-02-05T22:43:04.240693+00:00 heroku[router]: at=error code=H10 desc="App crashed" 
method=GET path=/ host=treebook285.herokuapp.com request_id=6ed7479c-573e-4057- 
a2aa-d62bcb6078de fwd="76.175.73.170" dyno= connect= service= status=503 bytes= 
2014-02-05T23:24:56.285710+00:00 heroku[web.1]: State changed from crashed to starting 

回答

0

確保您的Gemfile有gem 'thin'在它和你應該Procfile這個樣子

web: bundle exec thin start -p $PORT