In windows Platform
Step 1: Installation of Ruby
If you already have installed ruby in your pc then you can skip this step.
C:\Ruby-**
. For example C:\rubyDevkit
.cmd.exe
and move to the directory where you extracted your devkit.ruby dk.rb init
. This will initialize your installation. Then run ruby dk.rb install
.Step 2: Install Rails
fter successful installation of ruby. Next step is to install rails. Before installing rails install bundler gem running gem install bundler
from your command prompt window.
After installing bundler now run gem install rails -v version_of_rails
for example -v 5.0.0.1
.
If all process are completed without error then you installed rails successfully.