Sunday, February 3, 2013

/usr/lib64/ruby/gems/1.8/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in `require': no such file to load -- fcgi (LoadError)

Problem: Apache can not load dispatch.fcgi it return this error:
/usr/lib64/ruby/gems/1.8/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in `require': no such file to load -- fcgi (LoadError)

Fix:
Adding to lines to dispatch.fcgi solved it:

require 'rubygems'
require 'fcgi'
Have Funs!!!

(Source: http://www.redmine.org/boards/2/topics/31410 )


fcgio.cpp:50: error: 'EOF' was not declared in this scope

fix:
add #include <stdio.h> to start of fcgio.cpp

Done!

ERROR: RDoc documentation generator not installed: no such file to load -- rdoc/rdoc

Fix:
yum install ruby-rdoc -y

Done!

ERROR: Failed to build gem native extension

Fix:
yum install ruby-devel -y

Done!