Project

General

Profile

Using fcgi with redmine, crash [SOLVED]

Added by Andreas-Johann Ulvestad almost 12 years ago

Hi, I've had a system running redmine a while now and I'm now trying to set it up using fastcgi. The system is RHEL 6.2 with Apache2. I've set up dispatch.fcgi, and when running the command "./dispatch.fcgi" get the message:

/usr/lib/ruby/gems/1.8/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require': no such file to load -- fcgi (LoadError)
from /usr/lib/ruby/gems/1.8/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require'
from /usr/lib/ruby/gems/1.8/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:236:in `load_dependency'
from /usr/lib/ruby/gems/1.8/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require'
from /usr/lib/ruby/gems/1.8/gems/rack-1.4.1/lib/rack/handler/fastcgi.rb:1
from ./dispatch.fcgi:20

I've installed fcgi, fcgi-devel, mod-fcgid and also run "gem install fcgi" with success.

Any suggestions on this?


Replies (2)

RE: Using fcgi with redmine, crash - Added by Andreas-Johann Ulvestad almost 12 years ago

Adding to lines to dispatch.fcgi solved it:

require 'rubygems'
require 'fcgi'

RE: Using fcgi with redmine, crash [SOLVED] - Added by Iván López almost 12 years ago

It works. Thank you very much :-)

Regards, Iván.

    (1-2/2)