3

app = redmine-2.0.1
ruby​​ = ruby​​ 1.9.3p194(2012-04-20 修订版 35410)[x86_64-linux]

[root@by1016690 public]# ./dispatch.fcgi
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `block in require': iconv will be deprecated in the future, use String#encode instead.
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require': cannot load such file -- fcgi (LoadError)
        from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `block in require'
        from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:236:in `load_dependency'
        from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require'
        from /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/handler/fastcgi.rb:1:in `<top (required)>'
        from ./dispatch.fcgi:19:in `<main>'
4

1 回答 1

13

fcgi处理程序不是Redmine核心的一部分。为了使用它,您必须将它添加到您的Gem依赖项中。

在 Redmine 安装中创建一个名为“ Gemfile.local ”的文件:

# Gemfile.local
gem "fcgi"
于 2012-07-15T20:06:11.913 回答