This post describes how to setup Ruby on Rails on Windows to start developing a Rails application for the first time.
I attempted initially to setup Rails with XAMPP or Apache, but they did not seem to work well together.
The following shows how to setup the Rails development environment (on Windows) using Rails' built-in WEBrick web server.
Install Ruby using the installer. You can install Ruby on any directory (the following uses C:\ruby).
cd C:\ruby\bin
(Go to the Ruby's bin folder)
gem update
When you get the following error:
ERROR: Error installing json:
The 'json' native gem requires installed build tools.
Please update your PATH to include build tools or download the DevKit
from 'http://rubyinstaller.org/downloads' and follow the instructions
at 'http://github.com/oneclick/rubyinstaller/wiki/Development-Kit'