From: DocPneumo Date: 2007-01-16T23:25:06+09:00 Subject: Re: irb> require 'fcgi.so' => 'no such file to load' error Vincent Fourmond wrote: > DocPneumo wrote: > > 5th try > > > > I submitted a shorter version of this yesterday but it does not seem to > > have ever shown up. > > > > I have a fresh install of Ruby, RubyGems, FastCGI and ruby-fcgi (gem > > install fcgi). I've done this under fc4 & fc5. Ruby & FastCGI were > > compiled from source. > > RubyGems was installed via setup.rb. > > > > irb> require 'fcgi.so' gives a 'no such file to load' error. > > Searching for the file locates it at: > > /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.so > > Trying a require to the absolute path: > > irb> require '/usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.so' => > > true > > Just a stupid idea: have you tried require 'fcgi' ? > > Cheers, > > Vince > -- > Vincent Fourmond, PhD student > http://vincent.fourmond.neuf.fr/ Yes. I tried that as well. Same response. In addition, I have added 'export RUBYOPT=rubygems' to ~/.bash_profile. This was recommended in a discussion of the mechanics of RubyGems I found on the web.