我已经按照Heroku / Rails 3的所有信息进行部署,并且过去也成功完成了部署。由于某种原因,这个测功机在部署时不断崩溃,我似乎无法弄清楚它是什么。
这是日志...
2013-08-08T07:14:53.597688+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/rack-1.4.1/lib/rack/builder.rb: 40:在“解析文件”中 2013-08-08T07:14:53.597688+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/commands/server。 rb:70:在“开始”中 2013-08-08T07:14:53.597370+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/dependencies.rb: 251:in `block in require' 2013-08-08T07:14:53.597688+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/commands/server。 rb:46:在“应用程序”中 2013-08-08T07:14:53.597204+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/engine.rb: 439:in `block (2 levels) in eager_load!' 2013-08-08T07:14:53.597370+00:00 app[web.1]: 来自 /app/config.ru:4:in `block in ' 2013-08-08T07:14:53.597688+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/rack-1.4.1/lib/rack/server.rb: 301:在`wrapped_app'中 2013-08-08T07:14:53.597370+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/rack-1.4.1/lib/rack/builder.rb: 51:在`instance_eval'中 2013-08-08T07:14:53.597852+00:00 app[web.1]: 来自脚本/rails:6:in `' 2013-08-08T07:14:53.597370+00:00 app[web.1]: 来自 /app/config/environment.rb:5:in `' 2013-08-08T07:14:53.597852+00:00 app[web.1]: 来自脚本/rails:6:in `require' 2013-08-08T07:14:53.597688+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/rack-1.4.1/lib/rack/server.rb: 200:在“应用程序”中 2013-08-08T07:14:53.597852+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/commands.rb: 50:在`' 2013-08-08T07:14:53.597852+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/commands.rb: 50:在“点击”中 2013-08-08T07:14:53.597688+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/rack-1.4.1/lib/rack/server.rb: 252:在“开始”中 2013-08-08T07:14:53.597852+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/commands.rb: 55:在`块中' 2013-08-08T07:14:54.816593+00:00 heroku[web.1]:进程以状态 1 退出 2013-08-08T07:14:54.832103+00:00 heroku[web.1]:状态从开始变为崩溃 2013-08-08T07:15:24.152264+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/host=retreat-4025.herokuapp.com fwd="66.148. 232.2" 测功机=连接=服务=状态=503字节= 2013-08-08T07:15:24.302037+00:00 heroku[路由器]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=retreat-4025.herokuapp.com fwd= “66.148.232.2”测功机=连接=服务=状态=503字节= 2013-08-08T07:15:26.500540+00:00 heroku[路由器]: at=error code=H10 desc="App crashed" method=GET path=/host=retreat-4025.herokuapp.com fwd="66.148. 232.2" 测功机=连接=服务=状态=503字节= 2013-08-08T07:15:26.585865+00:00 heroku[路由器]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=retreat-4025.herokuapp.com fwd= “66.148.232.2”测功机=连接=服务=状态=503字节= 2013-08-08T07:15:52.251894+00:00 heroku[web.1]:状态从崩溃变为启动 2013-08-08T07:15:57.691573+00:00 heroku[web.1]:使用命令“bundle exec rails server -p 37681”启动进程 2013-08-08T07:16:02.767322+00:00 app[web.1]:弃用警告:供应商/插件中有 Rails 2.3 风格的插件!Rails 4.0 将删除对这些插件的支持。将它们移出并将它们捆绑到您的 Gemfile 中,或者将它们作为 lib/myplugin/* 和 config/initializers/myplugin.rb 折叠到您的应用程序中。有关更多信息,请参阅发行说明:http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released。(从 /app/config/environment.rb:5 调用) 2013-08-08T07:16:02.767322+00:00 app[web.1]:弃用警告:供应商/插件中有 Rails 2.3 风格的插件!Rails 4.0 将删除对这些插件的支持。将它们移出并将它们捆绑到您的 Gemfile 中,或者将它们作为 lib/myplugin/* 和 config/initializers/myplugin.rb 折叠到您的应用程序中。有关更多信息,请参阅发行说明:http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released。(从 /app/config/environment.rb:5 调用) 2013-08-08T07:16:02.767322+00:00 app[web.1]:弃用警告:供应商/插件中有 Rails 2.3 风格的插件!Rails 4.0 将删除对这些插件的支持。将它们移出并将它们捆绑到您的 Gemfile 中,或者将它们作为 lib/myplugin/* 和 config/initializers/myplugin.rb 折叠到您的应用程序中。有关更多信息,请参阅发行说明:http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released。(从 /app/config/environment.rb:5 调用) 2013-08-08T07:16:03.583098+00:00 app[web.1]: => 启动 WEBrick 2013-08-08T07:16:03.583098+00:00 app[web.1]: => Rails 3.2.6 应用程序在 http://0.0.0.0:37681 开始生产 2013-08-08T07:16:03.583098+00:00 app[web.1]: => 使用 -d 调用以分离 2013-08-08T07:16:03.583098+00:00 app[web.1]: => Ctrl-C 关闭服务器 2013-08-08T07:16:03.583098+00:00 应用 [web.1]:退出 2013-08-08T07:16:03.584336+00:00 app[web.1]:/app/vendor/bundle/ruby/2.0.0/gems/authlogic-3.1.3/lib/authlogic/acts_as_authentic/base.rb :31:in `acts_as_authentic': 在使用acts_as_authentic (StandardError) 之前必须建立数据库连接 2013-08-08T07:16:03.584336+00:00 app[web.1]: 来自 /app/app/models/user.rb:2:in `' 2013-08-08T07:16:03.584336+00:00 app[web.1]: 来自 /app/app/models/user.rb:1:in `' 2013-08-08T07:16:03.584336+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/dependencies.rb: 251:在“要求”中 2013-08-08T07:16:03.584336+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/dependencies.rb: 251:in `block in require' 2013-08-08T07:16:03.584336+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/dependencies.rb: 236:在“加载依赖”中 2013-08-08T07:16:03.584336+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/dependencies.rb: 251:在“要求”中 2013-08-08T07:16:03.584336+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/dependencies.rb: 359:在`require_or_load'中 2013-08-08T07:16:03.584336+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/dependencies.rb: 502:在`load_missing_constant'中 2013-08-08T07:16:03.584336+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/dependencies.rb: 192:在`const_missing中的块' 2013-08-08T07:16:03.584484+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/dependencies.rb: 190:在“每个”中 2013-08-08T07:16:03.584484+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/dependencies.rb: 190:在`const_missing'中 2013-08-08T07:16:03.584484+00:00 app[web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/inflector/methods。 rb:229:in `block in constantize' 2013-08-08T07:16:03.584484+00:00 app[web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/inflector/methods。 rb:228:in `constantize' 2013-08-08T07:16:03.584484+00:00 app[web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/inflector/methods。 rb:228:在“每个”中 2013-08-08T07:16:03.584484+00:00 app[web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/inflector/methods。 rb:259:in `safe_constantize' 2013-08-08T07:16:03.584484+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/core_ext/string/ inflections.rb:66:in `safe_constantize' 2013-08-08T07:16:03.584484+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.6/lib/action_controller/metal/params_wrapper。 rb:152:in `_default_wrap_model' 2013-08-08T07:16:03.584484+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.6/lib/action_controller/metal/params_wrapper。 rb:169:in `_set_wrapper_defaults' 2013-08-08T07:16:03.584484+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.6/lib/action_controller/metal/params_wrapper。 rb:133:in `继承' 2013-08-08T07:16:03.584623+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.6/lib/abstract_controller/railties/routes_helpers。 rb:7:in `block (2 levels) in with' 2013-08-08T07:16:03.584623+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.6/lib/action_controller/railties/paths。 rb:7:in `block (2 levels) in with' 2013-08-08T07:16:03.584623+00:00 app[web.1]: 来自 /app/app/controllers/users_controller.rb:1:in `' 2013-08-08T07:16:03.584623+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/dependencies.rb: 251:在“要求”中 2013-08-08T07:16:03.584623+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/dependencies.rb: 236:在“加载依赖”中 2013-08-08T07:16:03.584623+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/dependencies.rb: 251:在“要求”中 2013-08-08T07:16:03.584623+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/dependencies.rb: 359:在`require_or_load'中 2013-08-08T07:16:03.584623+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/dependencies.rb: 251:in `block in require' 2013-08-08T07:16:03.584623+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/dependencies.rb: 313:在“依赖”中 2013-08-08T07:16:03.584623+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/dependencies.rb: 225:在`require_dependency'中 2013-08-08T07:16:03.585001+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/engine.rb: 439:in `block (2 levels) in eager_load!' 2013-08-08T07:16:03.585001+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/engine.rb: 438:在“每个”中 2013-08-08T07:16:03.585001+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/engine.rb: 438:in `block in eager_load!' 2013-08-08T07:16:03.585001+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/engine.rb: 436:在“每个”中 2013-08-08T07:16:03.585001+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/initializable.rb: 30:在“instance_exec”中 2013-08-08T07:16:03.585001+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/application/finisher。 rb:53:in `block in ' 2013-08-08T07:16:03.585001+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/engine.rb: 436:在“渴望加载!” 2013-08-08T07:16:03.585001+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/initializable.rb: 30:在“运行”中 2013-08-08T07:16:03.585001+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/initializable.rb: 55:在`run_initializers中的块' 2013-08-08T07:16:03.585143+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/initializable.rb: 54:在`run_initializers'中 2013-08-08T07:16:03.585143+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/application.rb: 136:在“初始化!” 2013-08-08T07:16:03.585143+00:00 app[web.1]: 来自 /app/config/environment.rb:5:in `' 2013-08-08T07:16:03.585143+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/dependencies.rb: 251:在“要求”中 2013-08-08T07:16:03.585143+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/dependencies.rb: 251:in `block in require' 2013-08-08T07:16:03.585001+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/initializable.rb: 54:在“每个”中 2013-08-08T07:16:03.585143+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/dependencies.rb: 236:在“加载依赖”中 2013-08-08T07:16:03.585143+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.6/lib/active_support/dependencies.rb: 251:在“要求”中 2013-08-08T07:16:03.585143+00:00 app[web.1]: 来自 /app/config.ru:4:in `block in ' 2013-08-08T07:16:03.585143+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/rack-1.4.1/lib/rack/builder.rb: 51:在`instance_eval'中 2013-08-08T07:16:03.585392+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/rack-1.4.1/lib/rack/builder.rb: 51:在“初始化”中 2013-08-08T07:16:03.585392+00:00 app[web.1]: 来自 /app/config.ru:1:in `new' 2013-08-08T07:16:03.585392+00:00 app[web.1]: 来自 /app/config.ru:1:in `' 2013-08-08T07:16:03.585392+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/rack-1.4.1/lib/rack/builder.rb: 40:在“评估”中 2013-08-08T07:16:03.585392+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/rack-1.4.1/lib/rack/builder.rb: 40:在“解析文件”中 2013-08-08T07:16:03.585392+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/rack-1.4.1/lib/rack/server.rb: 200:在“应用程序”中 2013-08-08T07:16:03.585143+00:00 app[web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/railtie/configurable。 rb:30:in `method_missing' 2013-08-08T07:16:03.585392+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/commands/server。 rb:46:在“应用程序”中 2013-08-08T07:16:03.585392+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/rack-1.4.1/lib/rack/server.rb: 301:在`wrapped_app'中 2013-08-08T07:16:03.585392+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/rack-1.4.1/lib/rack/server.rb: 252:在“开始”中 2013-08-08T07:16:03.585581+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/commands.rb: 55:在`块中' 2013-08-08T07:16:03.585581+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/commands.rb: 50:在“点击”中 2013-08-08T07:16:03.585581+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/commands.rb: 50:在`' 2013-08-08T07:16:03.585581+00:00 app[web.1]: 来自脚本/rails:6:in `require' 2013-08-08T07:16:03.585392+00:00 应用程序 [web.1]:来自 /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.6/lib/rails/commands/server。 rb:70:在“开始”中 2013-08-08T07:16:03.585581+00:00 app[web.1]: 来自脚本/rails:6:in `' 2013-08-08T07:16:05.244491+00:00 heroku[web.1]:进程以状态 1 退出 2013-08-08T07:16:05.269665+00:00 heroku[web.1]:状态从开始变为崩溃 2013-08-08T07:16:06.134395+00:00 heroku[路由器]: at=error code=H10 desc="App crashed" method=GET path=/host=retreat-4025.herokuapp.com fwd="66.148. 232.2" 测功机=连接=服务=状态=503字节= 2013-08-08T07:16:06.471391+00:00 heroku[路由器]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=retreat-4025.herokuapp.com fwd= “66.148.232.2”测功机=连接=服务=状态=503字节=