Installing Ruby on rails in four easy steps
Ruby on rail is used for web application development.
Ruby is object oriented language.
Rail is framework that uses Ruby language to develop robust and scalable web application.
Ruby on rail installation is simple, newbie however find it a bit tricky first.
Here in this article I am going to tell you how can Ruby on rails be installed in windows XP.
1. Download latest version of Ruby from http://rubyforge.org/projects/rubyinstaller/
2. after the installation double click the exe file. this will start setup wizard which will guide you to the end.
3. once Ruby is installed next step is to set path
=>start => control panel => system =>advance => environment versiables
click path and press edit.
add
;C:\Ruby\bin
at the end of the path, I assumed that you have installed Ruby in drive c.
press oK.
4. now in command prompt, write
gem update --system
when the process completed, write
gem install rails
you have done. now its time to create your first project
in command prompt, write
rails firstproject
Once the projec is create, in command prompt, write
cd firstproject ruby script/server
now browse
http://localhost:3000/
you will see ruby on rails welcome page.
