Setting up your development environment

My development platform is Windows XP. I already had MySQL installed so here are the basic steps I followed:

1. Install Ruby

Download the latest .exe from http://rubyforge.org/frs/?group_id=167

For me that was the 1.8.6-26 Final Release, "ruby186-26.exe". Simply run the .exe and follow any onscreen prompts.

2. Install RubyGems

RubyGems is Ruby's standard package manager. Download the latest .zip from http://rubyforge.org/frs/?group_id=126

For me that was "rubygems-0.9.5.zip". Unzip to your local drive, open up a command prompt and cd to where you extracted the zip. Run the following from the command prompt:
> ruby setup.rb

3. Install Rails

I needed to install version 1.2.6 which was the version used to developed the site. Run the following from the command prompt:

> gem install rails --version 1.2.6

This install will take a few minutes.

Comments

Popular posts from this blog

The Test Pyramid