Heroku推送时模糊的错误消息,记录无益

时间:2013-10-09 19:52:07

标签: ruby-on-rails ruby heroku

所以我使用的是Rails 4.0和Ruby 2.0。我的应用程序在本地运行,我只是想将它推送到Heroku。当我推它时,我的终端表明一切正常。但是,当我运行“Heroku open”时,我收到此错误消息:

“应用程序错误

应用程序中发生错误,无法提供您的页面。请稍后再试。

如果您是应用程序所有者,请查看日志以获取详细信息。“

所以我查看我的Heroku日志并得到这个:

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=

看起来应用程序崩溃了(错误代码为H10),但我不知道为什么。

非常感谢任何帮助;一直试图让这个应用程序在线太长时间!

谢谢, Mariogs

当我尝试加载“/ ladder”页面时,这些是日志:

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

我不知道为什么@ladder实例变量似乎是空的......

1 个答案:

答案 0 :(得分:2)

错误很明显:

bash: bin/rails: No such file or directory

Rails 4需要bin目录 它甚至为您提供了方便的佣金任务

 rake rails:update:bin

将来请参阅Heroku文档

Rails 4 on Heroku