Ruby Gems Replace Taobao source Method _ruby Special Topic

Source: Internet
Author: User

Recently because to do a class, so yesterday installed a Windows, feel free to do nothing, want to install a Ruby play.

Official Rubygems source Because some resources are placed on the Amazon S3, so sometimes the ventilation, in Linux I use proxychains gem install XXX Implementation of the designated program implementation Shadowsocks agent, but Windows does not Convenient global agent, so consider changing the domestic Taobao source.

I've changed it one or two times before, but because it's just two lines of command and not used very often, I forgot to record it this time.

Copy Code code as follows:

# Delete the default official source
Gem Sources-r https://rubygems.org/

# Add Taobao source
Gem Sources-a https://ruby.taobao.org/

# View Current Source
Gem Sources-l # https://ruby.taobao.org

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.