Forum: Ruby on Rails Fast CGI

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
John W. (Guest)
on 2006-05-17 21:39
OK, I finally have Apache configured however the app seems very slow.  I
am hoping I can speed it up by using fast cgi.  I am having not able to
install the fcgi gem.  Below is the error I get when I try.  Any help on
this subject would be much appreciated.

sudo gem install fcgi -r -- -with-fcgi-lib=/usr/local/fcgi/lib
Attempting remote installation of 'fcgi'
Updating Gem source index for:
Building native extensions.  This could take a while...
can't find header files for ruby.
ERROR:  While executing gem ... (RuntimeError)
    ERROR: Failed to build gem native extension.
Gem files will remain installed in
/usr/lib/ruby/gems/1.8/gems/fcgi- for inspection.
  ruby extconf.rb install fcgi -r -- -with-fcgi-lib=/usr/local/fcgi/lib

Results logged to
Erlend S. (Guest)
on 2006-05-19 17:49
(Received via mailing list)
On Wed, 2006-05-17 at 19:39 +0200, John W. wrote:
> can't find header files for ruby.
You need to install ruby-dev. How to do that, depends on your

Erlend S. <removed_email_address@domain.invalid>
ClockingIT -
This topic is locked and can not be replied to.