#How to get a Ruby on Rails application running on Windows
- Go to http://railsinstaller.org/
- Download the installer corresponding to the version you are trying to install (http://rubyforge.org/frs/download.php/75894/railsinstaller-2.1.0.exe)
- Install the exe.
- Cd to the application directory in the command line.
- Type
bundle installand all dependencies will be installed.
- Make sure that the yml file
config/database.ymlcontains information valid for your environment (otherwise, change it to use your desired dbms) - Run from the application directory the commands
rake db:createandrake db:migrate. This will create the database structure.
- Run from the application directory the command
rails server, and WEBRick will boot up a local environment which can be accessed at the url http://localhost:3000 by default.