Current Tag Set:

Quick Installation Tutorials for Rails in Fedora Core 6

25 December, 2006

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.

about

Prior to working on Stepcase full-time, Leon Ho was Manager of Software Engineering at Red Hat, responsible for the internationalization deliveries in Red Hat products. Leon managed a team across regions in Australia, Japan, China and India. Leons division added support of 22 languages in Red Hat Enterprise Linux and migrated new internationalization technologies into products. He founded Stepcase's Lifehack in 2005, a blog on productivity and personal development, which became #40 most popular blog in the world. Stepcase has been featured by major medias such as Time Magazine, BusinessWeek and Hong Kong Economic Times.
Find me on LinkedIn, Facebook, and Twitter.

photos