gpt4 book ai didi

轨道上的 ruby 。调度.fcgi 。 dependencies.rb :251:in `require' : cannot load such file -- fcgi (LoadError)

转载 作者:数据小太阳 更新时间:2023-10-29 07:42:07 25 4
gpt4 key购买 nike

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>'

最佳答案

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

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

# Gemfile.local
gem "fcgi"

关于轨道上的 ruby 。调度.fcgi 。 dependencies.rb :251:in `require' : cannot load such file -- fcgi (LoadError),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10936800/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com