How to install and configure ruby1.9.2 + rails3.1.1 development environment in windows within 10 minutes

Source: Internet
Author: User

Generally, Windows developers need to build Ruby, rubygems, rails, and SQLite to start creating Rails Applications.

For beginners, the simplest way to install rails on windwos is the railsinstaller installation package.
Railsinstaller is a one-click installation package that helps you get started as soon as possible and quickly install the development environment.

Railsinstaller 2.0.1 used in this article includes:

    • Ruby1.9.2-p290
    • Rails3.1.1
    • Bundler1.0.18
    • Git1.7.6
    • SQLite3.7.3
    • Tinytds0.4.5
    • SQL Server Support3.3.3
    • Devkit

Railsinstaller Official Website:

1,Download railsinstaller 2.0.1Quick Start: Download

2,Double-click railsinstaller.exe to installIs a 58m file.

3. railsinstaller installation steps:

Click Next to go to the next step:

Agree to the installation agreement and proceed to the next step:

In this step, we recommend that you use English or pinyin to set the file installation location. do not include spaces between letters. In the future, you can use cmd to install the file.

Click Finish to complete the installation.

It takes about 6 minutes for railsinstaller to be installed. The size of the file after installation is 437 MB ,.

After you click Finish, a prompt for git and Shh settings will pop up, as shown in.

Git isProgramTo register a free user on, follow these steps.

After registration, return to the CMD window and enter the user name and email address respectively:

After the settings are complete, the system will prompt that the sshkey has been copied to the clipboard, create a TXT file => paste, save it, and save it for future use. The program also creates a sites directory under drive C.


In this step, the entire Ruby on Rails development environment has been configured. You can use cmd to test and use it in the future, for example:

We can see that the installed gem version is 1.7.2, Ruby version is 1.9.2, and rails version is 3.1.1.

At this point, we use railsinstaller to quickly install rails on Windows.

Start our Ruby on Rails journey.




Reprinted Source:

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.