Installing Ruby on Rails on Windows
Suresh Raj Bhattarai
9:14 PM
To start installing Ruby on Rails on Windows, simply follow these steps1. 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.)
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment