Fastest way to install Ruby on rails under windows

Source: Internet
Author: User
Tags ruby on rails
  1. Download the integration pack: http://railsinstaller.org/en the rest of the little things other tutorials can also be found, here is not much to say.

  2. After installation, open the Rbreadline.rb file under ruby2.1.0\lib\ruby\site_ruby\2.1.0 in the installation directory, which can be opened using Notepad. Then change require ' DL ' to require ' findle '

  3. Open the command line and execute the following command

$ gem Sources--remove https://rubygems.org/$ gem sources-a https://ruby.taobao.org/$ gem sources-l

The purpose of these commands is to replace the source of the gem to avoid problems that are always being wall.

4. If you use the Rails new project, you will find that the project will be stuck in the bundle install. This is because the bundle to download the required package address is not able to access it normally. Workaround when it is finished, change the address of source in the Gemfile file under the project folder to https://ruby.taobao.org


You should be able to get the rails server here.


If you have any other questions, you can tell me by message.

Fastest way to install Ruby on rails under windows

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.