Web progamming and database development

Diary of problems and solutions related to web programming, database development and related technologies and platforms.

Installing Ruby on Rails on Windows

To start installing Ruby on Rails on Windows, simply follow these steps

1. Install Ruby: To install it, download the installer file from rubyinstaller.org following the link below:

http://rubyinstaller.org/downloads/

During installation process, check the checkboxes for:
a. Associate Ruby with .rb files, and
b. Add Ruby to the PATH

Check for version: Once Ruby is installed, check for its version by entering the following command:

C:\>ruby -v

2. Update gems: To update gem, type following command. It will take 2-3 minutes to complete this updating process.

C:\>gem update --system

3. Install Rails: To install Rails follow this command

C:\>gem install rails --include-dependencies

The installation process will take around 10-15 minutes depending upon your Internet Bandwidth.
(If this command gives you an error, then it signifies that you do not have latest version of gems installed. Run “gem -v”, to know the version. If the version is old, it is recommended to reinstall the newest package.)

No comments :

Post a Comment