如何更新gem源

查看源: 

> gem source
*** CURRENT SOURCES ***

https://rubygems.org/

删除原来的资源库位置

> gem sources -r https://rubygems.org/ 

添加新的资源库位置

> gem sources -a https://ruby.taobao.org/ 

更新资源库

> gem sources -u