Ruby, Rails and httpd on Fedora 8
Just a short summary of how to install Ruby on Rails framework on Fedora 8 and how to configure it to work with Apache 2. Perhaps this might come handy to someone.
1. Install Ruby programming language and Rails framework
$ sudo yum install ruby $ sudo gem install rails --include-dependencies
2. Install header files and libraries for building extension libraries for Ruby
$sudo yum install ruby-devel
3. Download and install Passenger, an Apache module for deployment Ruby on Rails applications on Apache. When running “passenger-install-apache2-module”, follow the instructions on the screen to solve any problems (the installer is friendly and helpful).
$ sudo gem install passenger $ passenger-install-apache2-module
4. Create a sample Ruby on Rails application
$ cd ~/public_html $ rails demo
5. That’s it, you should now be able to access your Ruby on Rails application on localhost using web browser
