Forum: Ruby on Rails Trouble installing Ruby on Rails with Apache 2 on Linux

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.
80e8c95efd94e1850838d27024ea1ac1?d=identicon&s=25 (Guest)
on 2007-01-23 20:55
(Received via mailing list)
Hi, I'm running Fedora Core 5 Linux on an x86 machine with Apache 2.2.
I'm trying to install Ruby on Rails using the instructions here
(  If anyone has
better instructions, please let me know!

I was unable to install mod_fastcgi because of errors it was giving me.
Skipping that step, I completed the rest of the steps, including

echo "FastCgiIpcDir /tmp/fcgi/" >>
echo "AddHandler fastcgi-script .fcgi" >>
echo "FastCgiWrapper On" >> /usr/local/apache2/conf/httpd.conf

but got this error when I restarted my Apache 2 server ...

Syntax error on line 448 of /usr/local/apache2/conf/httpd.conf:
Invalid command 'FastCgiIpcDir', perhaps misspelled or defined by a
module not included in the server configuration

Any ideas what's going wrong?

Thanks, - Dave
91308e9bc88cb069fd1bcf88e910d042?d=identicon&s=25 Nick Snels (nicksnels)
on 2007-01-23 21:21
Hi Dave,

the error is probably because you couldn't install mod_fastcgi. If you
want to go with Apache2, there are a few other options besides fastcgi
to get Ruby on
Rails going. Apache2 + fcgid or Apache2 + Mongrel. The last option is
the most popular at the moment. I have a couple of links up at
that point to some good tutorials that should get you up and running
very quickly.

Kind regards,

Nick Snels
80e8c95efd94e1850838d27024ea1ac1?d=identicon&s=25 (Guest)
on 2007-01-23 23:50
(Received via mailing list)
Thanks.  These are some good links, but what I can't seem to find is
what directives I need to put in my httpd.conf file to recognize pages
written in ruby and pass those along to the correct interpreter.  Do
you have a tutorial with the step-by-step setup?

Thanks, -Dave
3e6bbd5a01437feec48adf3838b15d91?d=identicon&s=25 askegg (Guest)
on 2007-01-24 00:50
(Received via mailing list)
So long as your document root is pointed at /public and .htaccess is
turned on you should be OK (unless you are configuring for something
fancy like Mongrel).

On Jan 24, 9:50 am, ""
This topic is locked and can not be replied to.