gem #查看gem源 gem sources # 刪除默認的gem源 gem sources --remove http://rubygems.org/ # 增長taobao做爲gem源 gem sources -a http://ruby.taobao.org/ # 查看當前的gem源 gem sources *** CURRENT SOURCES *** http://ruby.taobao.org # 請確保只有 ruby.taobao.org # 清空源緩存 gem sources -c # 更新源緩存 gem sources -u