Ruby environment installation and configuration

Source: Internet
Author: User

1. download the latest Ruby version in the http://rubyinstaller.org and install it directly. (Rubyinstaller-1.8.7-p370.exe) (view ruby-V)

2. Download The devkitfile (devkit-tdm-32-4.5.2-20151129-1559-sfx.exe), decompress the package, and select the desired directory. (The order of this step is very important; otherwise, the operation in step 1 may fail)

3. Run cmd to go to the Windows Command, enter the devkit folder, and perform the following operations:

Ruby DK. RB init

Ruby DK. RB install

4. Update the gem version (view the version gem-V)

Gem install rubygems-Update

Update_rubygems

5. Run cmd to run the Windows Command and install it using gem install rails.

6. view the rails version: rails-V. view all installed versions: Gem list.

7、install railsdevelopment tool (aptana_studio_3_setup_3.2.0.exe)

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: info-contact@alibabacloud.com 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.