我想知道这里发生了什么。我在自己的机器上有一个rails应用程序正常工作。我将它复制到安装了Passenger的Dreamhost服务器上,它说它会神奇地开始,没有其他需要的工作。
然而,似乎所有的宝石都没有加载。所以我进去创造了一个包含所有必需宝石的新宝石套装。不过,我看到了同样的错误。我该怎么办?我是否需要重新启动Passenger或类似的东西,以便识别新的宝石?
我看到的错误是
It is possible that you didn't upload
your application files correctly. Please check whether all
your application files are uploaded.
A required library may not installed. Please install all
libraries that this application requires.
编辑:跟踪
0 /usr/lib/ruby/1.8/rubygems/custom_require.rb 31 in `gem_original_require'
1 /usr/lib/ruby/1.8/rubygems/custom_require.rb 31 in `require'
2 /home/mtaysic/taysic.com/vendor/rails/activesupport/lib/active_support/dependencies.rb 155 in `require'
3 /home/mtaysic/taysic.com/app/helpers/application_helper.rb 4
4 /usr/lib/ruby/1.8/rubygems/custom_require.rb 31 in `gem_original_require'
5 /usr/lib/ruby/1.8/rubygems/custom_require.rb 31 in `require'
6 /home/mtaysic/taysic.com/vendor/rails/activesupport/lib/active_support/dependencies.rb 155 in `require'
7 /home/mtaysic/taysic.com/vendor/rails/activesupport/lib/active_support/dependencies.rb 262 in `require_or_load'
8 /home/mtaysic/taysic.com/vendor/rails/activesupport/lib/active_support/dependencies.rb 221 in `depend_on'
9 /home/mtaysic/taysic.com/vendor/rails/activesupport/lib/active_support/dependencies.rb 133 in `require_dependency'
10 /home/mtaysic/taysic.com/vendor/rails/actionpack/lib/action_controller/helpers.rb 193 in `default_helper_module!'
11 /home/mtaysic/taysic.com/vendor/rails/actionpack/lib/action_controller/helpers.rb 208 in `__send__'
12 /home/mtaysic/taysic.com/vendor/rails/actionpack/lib/action_controller/helpers.rb 208 in `inherited'
13 /home/mtaysic/taysic.com/app/controllers/application.rb 4
14 /usr/lib/ruby/1.8/rubygems/custom_require.rb 31 in `gem_original_require'
15 /usr/lib/ruby/1.8/rubygems/custom_require.rb 31 in `require'
16 /home/mtaysic/taysic.com/vendor/rails/activesupport/lib/active_support/dependencies.rb 155 in `require'
17 /home/mtaysic/taysic.com/vendor/rails/activesupport/lib/active_support/dependencies.rb 262 in `require_or_load'
18 /home/mtaysic/taysic.com/vendor/rails/activesupport/lib/active_support/dependencies.rb 221 in `depend_on'
19 /home/mtaysic/taysic.com/vendor/rails/activesupport/lib/active_support/dependencies.rb 133 in `require_dependency'
20 /home/mtaysic/taysic.com/vendor/rails/actionpack/lib/action_controller/dispatcher.rb 18 in `define_dispatcher_callbacks'
21 /home/mtaysic/taysic.com/vendor/rails/activesupport/lib/active_support/callbacks.rb 182 in `call'
22 /home/mtaysic/taysic.com/vendor/rails/activesupport/lib/active_support/callbacks.rb 182 in `evaluate_method'
23 /home/mtaysic/taysic.com/vendor/rails/activesupport/lib/active_support/callbacks.rb 166 in `call'
24 /home/mtaysic/taysic.com/vendor/rails/activesupport/lib/active_support/callbacks.rb 90 in `run'
25 /home/mtaysic/taysic.com/vendor/rails/activesupport/lib/active_support/callbacks.rb 90 in `each'
26 /home/mtaysic/taysic.com/vendor/rails/activesupport/lib/active_support/callbacks.rb 90 in `send'
27 /home/mtaysic/taysic.com/vendor/rails/activesupport/lib/active_support/callbacks.rb 90 in `run'
28 /home/mtaysic/taysic.com/vendor/rails/activesupport/lib/active_support/callbacks.rb 277 in `run_callbacks'
29 /home/mtaysic/taysic.com/vendor/rails/railties/lib/initializer.rb 559 in `send'
30 /home/mtaysic/taysic.com/vendor/rails/railties/lib/initializer.rb 559 in `prepare_dispatcher'
31 /home/mtaysic/taysic.com/vendor/rails/railties/lib/initializer.rb 173 in `process'
32 /home/mtaysic/taysic.com/vendor/rails/railties/lib/initializer.rb 112 in `send'
33 /home/mtaysic/taysic.com/vendor/rails/railties/lib/initializer.rb 112 in `run'
34 /home/mtaysic/taysic.com/config/environment.rb 17
35 /usr/lib/ruby/1.8/rubygems/custom_require.rb 31 in `gem_original_require'
36 /usr/lib/ruby/1.8/rubygems/custom_require.rb 31 in `require'
37 /dh/passenger/lib/phusion_passenger/railz/application_spawner.rb 299 in `preload_application'
38 /dh/passenger/lib/phusion_passenger/railz/application_spawner.rb 248 in `initialize_server'