Installing Ruby on Rails and unpacking your first gem.
1.) Download RubyInstaller to install Ruby.
2.) Download RubyGems to install gems.
- If you don’t have any gems installed you want to install from the command line
- Start > run > cmd > cd [to folder] > ruby setup.rb
3.) Install Rails using “gem install rails -V” in the command line. The “-V” makes the command verbose, and it will display the progress of the download & install. Without the “-V” you might think the install is hanging up.
4.) You may have issues installing Rails in windows without the DevKit.
- Download the appropriate DevKit for your version of Ruby
- Extract to any folder, open a prompt and cd to the folder.
- > ruby dk.rb init

This should bind ruby installations in your path.
After installing the DevKit, install Rails.
Install Rails again if it failed the first time:
Check to see it was installed correctly. “rails” will now work as a command.
> rails –version
Finally, install SQLite using this gem
> gem install sqlite3
IMPORTANT NOTE: If you’re getting an error when checking your localhost page check to see the sqlite3 version is specified in your Gemfile ->
# Use sqlite3 as the database for Active Record
gem ‘sqlite3’, ‘1.3.8’
Now your localhost:3000 address should show this!
Remember: Although RoR does run on Windows, there is much more active support for Linux/Ubuntu developers.
If you do not wish to install it step-by-step and understand the components you can always try the Rails Installer (1.93 available)



