by Asim Jalis, MetaProse.com
Here are the steps for installing Ruby on Rails on a Windows PC and verifying that the install was successful.
-
Click on “Download the Kit”.
-
Download and run the installer.
-
To verify the install open a cmd console window and type the following:
mkdir c:\RailsTest cd c:\Rails rails new demo cd demo rails server
-
Wait until the output mentions port=3000. The output should look like this:
C:\RailsTest\demo>rails server => Booting WEBrick => Rails 3.2.1 application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server [2012-12-07 11:42:40] INFO WEBrick 1.3.1 [2012-12-07 11:42:40] INFO ruby 1.9.3 (2012-02-16) [i386-mingw32] [2012-12-07 11:42:40] INFO WEBrick::HTTPServer#start: pid=6616 port=3000
-
Open the browser to http://localhost:3000 and check that it contains this message:
Welcome aboard You’re riding Ruby on Rails!
-
Congratulations! Your install was successful.