查看gem源gem sources -l换添加源gem sources --add https://gems.ruby-china.com/删除原来的rubygems源gem sources --remove https://rubygems.org/