我试图使用Rails 3.1.8设置Debian挤压服务器。该应用程序在开发过程中启动完美,但在生产模式下,我将获得此堆栈跟踪。我的红宝石构造有什么问题吗?任何推荐的挤压标志?
将PID写入/home/railsapps/localhost_production/shared/tmp/thin.2.pid 使用机架适配器 退出! /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:306:in
rescue in depend_on': Missing helper file helpers/addressable/uri.rb (LoadError) from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:301:in
depend_on' 来自/home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:214:inrequire_dependency' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/actionpack-3.1.8/lib/abstract_controller/helpers.rb:135:in
块module_for_helpers' 来自/home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/actionpack-3.1.8/lib/abstract_controller/helpers.rb:131:inmap!' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/actionpack-3.1.8/lib/abstract_controller/helpers.rb:131:in
modules_for_helpers' 来自/home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/actionpack-3.1.8/lib/action_controller/metal/helpers.rb:89:inmodules_for_helpers' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/actionpack-3.1.8/lib/abstract_controller/helpers.rb:95:in
helper' 来自/home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/actionpack-3.1.8/lib/abstract_controller/helpers.rb:159:indefault_helper_module!' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/actionpack-3.1.8/lib/abstract_controller/helpers.rb:22:in
阻止继承' 来自/home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/actionpack-3.1.8/lib/abstract_controller/helpers.rb:22:inclass_eval' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/actionpack-3.1.8/lib/abstract_controller/helpers.rb:22:in
继承了' 来自/home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/actionpack-3.1.8/lib/action_controller/metal/hide_actions.rb:32:ininherited' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/actionpack-3.1.8/lib/action_controller/metal/params_wrapper.rb:130:in
继承了' 来自/home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/actionpack-3.1.8/lib/abstract_controller/railties/routes_helpers.rb:7:inblock (2 levels) in with' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/actionpack-3.1.8/lib/action_controller/railties/paths.rb:7:in
阻止(2级)与&#39; 来自/home/railsapps/localhost_production/releases/20121028215215/app/controllers/application_controller.rb:1:in<top (required)>' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:240:in
要求&#39; 来自/home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:240:inblock in require' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:225:in
load_dependency&#39; 来自/home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:240:inrequire' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:348:in
require_or_load&#39; 来自/home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:489:inload_missing_constant' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:181:in
块中的const_missing&#39; 来自/home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:179:ineach' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:179:in
const_missing&#39; 来自/home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/aws-s3-0.6.3/lib/aws/s3/extensions.rb:212:inconst_missing_from_s3_library' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/inherited_resources-1.3.1/app/controllers/inherited_resources/base.rb:11:in
&#39; 来自/home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/inherited_resources-1.3.1/app/controllers/inherited_resources/base.rb:1:in<top (required)>' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:240:in
要求&#39; 来自/home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:240:inblock in require' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:225:in
load_dependency&#39; 来自/home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:240:inrequire' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:348:in
require_or_load&#39; 来自/home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:489:inload_missing_constant' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:181:in
块中的const_missing&#39; 来自/home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:179:ineach' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:179:in
const_missing&#39; 来自/home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/aws-s3-0.6.3/lib/aws/s3/extensions.rb:212:inconst_missing_from_s3_library' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/bundler/gems/active_admin-7d09a0ac8252/lib/active_admin/base_controller/menu.rb:2:in
&#39; 来自/home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/bundler/gems/active_admin-7d09a0ac8252/lib/active_admin/base_controller/menu.rb:1:in<top (required)>' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:240:in
要求&#39; 来自/home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:240:inblock in require' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:225:in
load_dependency&#39; 来自/home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:240:inrequire' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/bundler/gems/active_admin-7d09a0ac8252/lib/active_admin/base_controller.rb:2:in
&#39; 来自/home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/bundler/gems/active_admin-7d09a0ac8252/lib/active_admin/application.rb:222:inbefore_filter' from /home/railsapps/localhost_production/releases/20121028215215/config/initializers/active_admin.rb:91:in
阻止&#39; 来自/home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/bundler/gems/active_admin-7d09a0ac8252/lib/active_admin.rb:71:insetup' from /home/railsapps/localhost_production/releases/20121028215215/config/initializers/active_admin.rb:1:in
&#39; 来自/home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:234:inload' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:234:in
阻止加载&#39; 来自/home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:225:inload_dependency' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:234:in
loading&#39; 来自/home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/railties-3.1.8/lib/rails/engine.rb:556:inblock (2 levels) in <class:Engine>' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/railties-3.1.8/lib/rails/engine.rb:555:in
每个&#39; 来自/home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/railties-3.1.8/lib/rails/engine.rb:555:inblock in <class:Engine>' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/railties-3.1.8/lib/rails/initializable.rb:30:in
instance_exec&#39; 来自/home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/railties-3.1.8/lib/rails/initializable.rb:30:inrun' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/railties-3.1.8/lib/rails/initializable.rb:55:in
阻止run_initializers&#39; 来自/home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/railties-3.1.8/lib/rails/initializable.rb:54:ineach' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/railties-3.1.8/lib/rails/initializable.rb:54:in
run_initializers&#39; 来自/home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/railties-3.1.8/lib/rails/application.rb:96:ininitialize!' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/railties-3.1.8/lib/rails/railtie/configurable.rb:30:in
method_missing&#39; 来自/home/railsapps/localhost_production/current/config/environment.rb:5:in<top (required)>' from /home/railsapps/localhost_production/current/config.ru:3:in
要求&#39; 来自/home/railsapps/localhost_production/current/config.ru:3:inblock in <main>' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/rack-1.3.6/lib/rack/builder.rb:51:in
instance_eval&#39; 来自/home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/rack-1.3.6/lib/rack/builder.rb:51:ininitialize' from /home/railsapps/localhost_production/current/config.ru:1:in
new&#39; 来自/home/railsapps/localhost_production/current/config.ru:1:in<main>' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/thin-1.5.0/lib/rack/adapter/loader.rb:33:in
eval&#39; 来自/home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/thin-1.5.0/lib/rack/adapter/loader.rb:33:inload' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/thin-1.5.0/lib/rack/adapter/loader.rb:42:in
for&#39; 来自/home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/thin-1.5.0/lib/thin/controllers/controller.rb:169:inload_adapter' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/thin-1.5.0/lib/thin/controllers/controller.rb:73:in
start&#39; 来自/home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/thin-1.5.0/lib/thin/runner.rb:187:inrun_command' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/thin-1.5.0/lib/thin/runner.rb:152:in
运行!&#39; 来自/home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/thin-1.5.0/bin/thin:6:in<top (required)>' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/bin/thin:19:in
loading&#39; 来自/home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/bin/thin:19:in`'