Created
July 20, 2014 05:05
-
-
Save shenqihui/2293f4ea581867ce9209 to your computer and use it in GitHub Desktop.
修改 ruby rails 的 Gemfile template,是source指向 ruby.taobao.org/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cd $rails_path | |
#例如 | |
cd /home/vagrant/.rvm/gems/ruby-2.1.0/gems/railties-4.1.4 | |
vi ./lib/rails/generators/rails/plugin/templates/Gemfile | |
vi ./lib/rails/generators/rails/app/templates/Gemfile | |
# change source 'https://rubygems.org' into source 'https://ruby.taobao.org/' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment