Quick guide to installing Ruby on Rails (Fedora 7)
April 16th, 2008
First make sure Ruby is installed first.
# yum install ruby ruby-rdoc ruby-irb rubygems
Next, update the GEM repository by running
# gem update
Followed by…
# gem install -y rails --include-dependencies
yum install mod_fcgid
Add the following virtual host config to your apache config file /etc/httpd/httpd.conf
SetEnv RAILS_ENV development
ServerName rails
DocumentRoot /path/application/public/
ErrorLog /path/application/log/apache.log
<Directory /path/application/public/>
Options ExecCGI FollowSymLinks
AddHandler cgi-script .cgi
AllowOverride all
Order allow,deny
Allow from all
</Directory>
</VirtualHost>