PHPz2017-04-24 09:14:44
gem sources --remove https://ruby.taobao.org/ --add http://rubygems.org/
gem sources -l
My computer at home has circumvented the wall, and I couldn’t add it using the official source;
Finally, I removed the s and installed it successfully without having to circumvent the wall.
PHPz2017-04-24 09:14:44
Taobao source is no longer maintained, use ruby-china source
See
ruby-china
迷茫2017-04-24 09:14:44
The Taobao source has stopped maintenance, and the new gems source is provided by the ruby-china community.
gem sources -c #删除所有镜像地址
gem sources -a https://gems.ruby-china.org #添加ruby-china的镜像地址