Gemfile
source 'https://ruby.taobao.org/'
# source 'http://mirrors.aliyun.com/rubygems/'
gem 'rails'
Command
# bundle install --system
Command
# gem sources --remove https://rubygems.org/
# gem sources -a https://ruby.taobao.org/
# gem sources -l
# gem install rails