Leon Ho

The water is calm.

Archive for the ‘setup’ tag

Quick Installation Tutorials for Rails in Fedora Core 6

with 2 comments

Setting up a Ruby on Rails environment in Fedora Core 6 is extremely easy. Most of the packages that required by Rails are included in Fedora Core repo. For packages, on top of ruby, I also pull in MySQL and Sqlite3 and their ruby API modules - as I use those databases for development (mysql) and testing (sqlite).

  • ruby 1.8.5
  • mysql 5.0.27
  • sqlite 3.3.6

1. Install ruby, mysql rpms through yum:

2. I choose gems to manage rails and plugins, so download and install rubygems:

3. Install rails and my favorite web server for rails, mongrel (and its cluster module):

4. Finally run and turn on mysql daemon at boot time:

5. Test your rails setup:

That’s it. Quick five steps - all of these should get rails running on your new staging server or your development environment. I will leave the info on configuring the Mongrel cluster to another post.

Written by Leon

December 25th, 2006 at 9:21 pm

Posted in Administration

Tagged with , ,