

For example, " gem install rails -v 2.3.5".Īt this point, you should have everything you need to get started. To install a particular version of Rails, include the version number with the -v option. Step 5) Navigate to C:\Ruby\bin, and install Rails by typing " gem install rails". Here are the detailed steps for installing the Development Kit.ī) Extract it to a permanent location (say C:\RubyDK)Ĭ) In a command prompt, navigate to the root folder for the Development Kit (for example, C:\RubyDK)ĭ) Execute " C:\Ruby\bin\ruby dk.rb init"Į) Execute " C:\Ruby\bin\ruby dk.rb install" I tried adding some gems required by the application I was evaluating, and the first thing that happened was an error because "installed build tools" were required… and one way to take care of that error is to install the Development Kit. You may not need this, but it seems likely that you will. Follow the instructions at to install it. From, download the appropriate Development Kit for the version of Ruby that you selected. (For the rest of this tutorial, assume that Ruby is installed in C:\Ruby.) You can choose the folder in which Ruby gets installed. Step 4) Download and run the RubyInstaller package. Otherwise, use your favorite search engine to do the research needed to identify the best version for you.

The download page at can help you determine what version to use. That application used an older version of Rails, so the best version of Ruby was the 1.8.7 release. In my case, I needed to install Ruby in order to evaluate a Ruby on Rails application. Step 3) Determine the appropriate version of Ruby to install. Step 2) Navigate to the downloads page ( ), and review the information found there. The RubyInstaller project provides a Windows installer that includes Ruby, a baseline set of RubyGems, and the full text of "The Book of Ruby". Step 1) Go to, which bills itself as "The easy way to install Ruby on Windows".
#EDITROCKET REVIES HOW TO#
– How to install the Ruby Development Kit – “The easy way to install Ruby on Windows” While this is somewhat of a rough draft (and therefore may not be entirely repeatable), it should at least provide some guidance.

Following is a record of the steps that I followed to install Ruby on Rails, as well as a few Ruby add-on packages, on Windows 7.
