0

Rails 3.1.8 で Debian スクイーズ サーバーをセットアップしようとしています。アプリは開発中は問題なく起動しますが、プロダクション モードでは以下のスタック トレースを取得しています。私のルビービルドに何か問題がありますか?スクイーズに推奨されるフラグはありますか?

/home/railsapps/localhost_production/shared/tmp/thin.2.pid に PID を書き込みます ラック アダプタを使用して終了します! /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:306:/home/railsapps/localhost_production/shared/bundle/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'でruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:214: require_dependency' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/actionpack-3.1.8/lib/abstract_controller/helpers.rb:135:in/home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/actionpack の modules_for_helpers のブロック内-3.1.8/lib/abstract_controller/helpers.rb:131: map!' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/actionpack-3.1.8/lib/abstract_controller/helpers.rb:131:in/home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/actionpack-3.1.8/lib/action_controller/metal/ の modules_for_helpers 内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:inhelper' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/actionpack-3.1.8/lib/abstract_controller/helpers.rb:159:in default_helper_module!' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/actionpack-3.1.8/lib/abstract_controller/helpers.rb:22:inblock in inherited' from /home/railsapps/localhost_production /shared/bundle/ruby/1.9.1/gems/actionpack-3.1.8/lib/abstract_controller/helpers.rb:22:in class_eval' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/actionpack-3.1.8/lib/abstract_controller/helpers.rb:22:ininherited' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/ gems/actionpack-3.1.8/lib/action_controller/metal/hide_actions.rb:32:in inherited' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/actionpack-3.1.8/lib/action_controller/metal/params_wrapper.rb:130:ininherited' from /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 レベル) in with' from /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:inrequire' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:240:in block in require' from /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:240:in require' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:348:inrequire_or_load' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/ activesupport-3.1.8/lib/active_support/dependencies.rb:489: load_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/home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support の const_missing のブロック内/dependencies.rb:179:in each' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:179:inconst_missing' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/aws-s3-0.6.3/lib/aws/s3/extensions.rb:212:のconst_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' from /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:inrequire' from /home/railsapps/localhost_production/ /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems から shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:240:in block in require' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:225:inload_dependencyで/activesupport-3.1.8/lib/active_support/dependencies.rb:240:in require' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:348:inrequire_or_load' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/ dependencies.rb:489: load_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/home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:179 の const_missing 内のブロック内:のeach' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:179:inconst_missing' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/aws-s3-0.6.3/lib/aws/s3/extensions.rb:212:in const_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' from /home/railsapps/ /home/railsapps/localhost_production/shared/bundle/ruby/1.9 から localhost_production/shared/bundle/ruby/1.9.1/bundler/gems/active_admin-7d09a0ac8252/lib/active_admin/base_controller/menu.rb:1: <top (required)>' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:240:inrequireで.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:240: block 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/home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/ からの load_dependency でlib/active_support/dependencies.rb:240:in require' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/bundler/gems/active_admin-7d09a0ac8252/lib/active_admin/base_controller.rb:2:in' from /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' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/bundler/gems/active_admin-7d09a0ac8252/lib/active_admin.rb:71:in setup' from /home/railsapps/localhost_production/releases/20121028215215/config/initializers/active_admin.rb:1:in' from /home/railsapps/localhost_production/shared/bundleでブロック/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:234:in load' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:234:inblock in load' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/ /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/railties-3.1.8/lib/rails/engine からの activesupport-3.1.8/lib/active_support/dependencies.rb:225:in load_dependency' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.8/lib/active_support/dependencies.rb:234:inload' .rb:556:in block (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:ineach' from /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/home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/railties-3.1.8/lib/rails/initializable.rb:30 のinstance_exec run' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/railties-3.1.8/lib/rails/initializable.rb:55:in: /home/railsapps/localhost_production の run_initializers のブロック内/shared/bundle/ruby/1.9.1/gems/railties-3.1.8/lib/rails/initializable.rb:54:in each' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/railties-3.1.8/lib/rails/initializable.rb:54:inrun_initializers の /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/ からgems/railties-3.1.8/lib/rails/application.rb:96: initialize!' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/railties-3.1.8/lib/rails/railtie/configurable.rb:30:in/home/railsapps/localhost_production/current/config/environment.rb:5:require の method_missing内<top (required)>' from /home/railsapps/localhost_production/current/config.ru:3:in/home/railsapps/localhost_production/ からcurrent/config.ru:3:in block in <main>' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/rack-1.3.6/lib/rack/builder.rb:51:ininstance_eval' from /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:innew' from /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:ineval' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/thin-1.5.0/lib/rack /adapter/loader.rb:33:in load' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/thin-1.5.0/lib/rack/adapter/loader.rb:42:infor' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/thin-1.5.0/lib/thin/controllers/controller.rb:169: in load_adapter' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/thin-1.5.0/lib/thin/controllers/controller.rb:73:instart' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/thin-1.5.0/lib/thin/runner.rb:187:in run_command' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9.1/gems/thin-1.5.0/lib/thin/runner.rb:152:inrun!' from /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:inload' from /home/railsapps/localhost_production/shared/bundle/ruby/1.9 .1/bin/thin:19:in `'

4

0 に答える 0