我将我的应用程序上传到服务器,我在那里使用FCGI。我知道有比FCGI更好的解决方案,但我需要使用它。 我收到这个错误:
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:239:in `require': no such file to load -- fcgi_handler (LoadError)
from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:239:in `require'
from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:225:in `load_dependency'
from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:596:in `new_constants_in'
from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:225:in `load_dependency'
from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:239:in `require'
from /users/zalohovane/mexo.cz/public/dispatch.fcgi:22
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:231: [BUG] Segmentation fault
ruby 1.8.7 (2010-08-16 patchlevel 302) [x86_64-linux]
Aborted
我很遗憾不知道这个错误报告的原因是什么。谁能告诉我解决这个问题需要什么?
答案 0 :(得分:1)
这个问题在这里得到了解答: rails 3 - fcgi_handler and dispatcher missing
如果您使用的是rails 3,则需要安装机架宝石。