for chinese RVM users: ruby.taobao.org

访问量: 3145

国内的同学门,安装 RVM之后记得走淘宝哦~   

安装各种rubygem也可以~~~

详情见:  ruby.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

RVM 改用本站作为下载源, 提高 Ruby 安装速度

FOR MAC
$ sed -i .bak 's!ftp.ruby-lang.org/pub/ruby!ruby.taobao.org/mirrors/ruby!' $rvm_path/config/db
FOR LINUX
$ sed -i 's!ftp.ruby-lang.org/pub/ruby!ruby.taobao.org/mirrors/ruby!' $rvm_path/config/db

订阅/RSS Feed

Subscribe

分类/category