For the sake of simplicity, this first application will not use a database at all. This will let you explore the View and the Controller without having to worry about the complexities of the Model.
To begin, open a system prompt (on Windows, select the Start menu, and enter
cmd into the Run or Search box). Navigate to a directory into which you intend to place your Rails applications. Let’s assume this is C:\railsapps. Check that Rails is installed and that its home directory is on the system path. To do this, enter the following:
If all is well, you should now see a screenful of help about using the
rails command. If you don’t see this, there is a problem with your Rails installation that you need to fix before continuing. ...