Skip to content

Instantly share code, notes, and snippets.

@alexzed
Created August 2, 2013 09:25
Show Gist options
  • Save alexzed/6138615 to your computer and use it in GitHub Desktop.
Save alexzed/6138615 to your computer and use it in GitHub Desktop.
Change ruby source to taobao.org
$ gem sources --remove https://rubygems.org/
$ gem sources -a http://ruby.taobao.org/
$ gem sources -l
*** CURRENT SOURCES ***
http://ruby.taobao.org
# 请确保只有 ruby.taobao.org
$ gem install rails
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment