Ruby on Rails. dispatch.fcgi. dependencies.rb:251:在`require’:无法加载这样的文件–fcgi(LoadError)

Ruby on Rails. dispatch.fcgi. dependencies.rb:251:在`require’:无法加载这样的文件–fcgi(LoadError),第1张

概述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/depend 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.localgem "fcgi"
总结

以上是内存溢出为你收集整理的Ruby on Rails. dispatch.fcgi. dependencies.rb:251:在`require’:无法加载这样的文件–fcgi(LoadError)全部内容,希望文章能够帮你解决Ruby on Rails. dispatch.fcgi. dependencies.rb:251:在`require’:无法加载这样的文件–fcgi(LoadError)所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/langs/1255149.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-06-07
下一篇 2022-06-07

发表评论

登录后才能评论

评论列表(0条)

保存