localhost:~ cgs$ gem update --system
ERROR: While executing gem ... (URI::InvalidURIError)
bad URI(is not URI?): https://ruby.taobao.org/
或者出现https://gems.ruby-china.org/ is not a URI
$ rm ~/.gemrc
然后重试就行了
localhost:~ cgs$ gem update --system
ERROR: While executing gem ... (URI::InvalidURIError)
bad URI(is not URI?): https://ruby.taobao.org/
或者出现https://gems.ruby-china.org/ is not a URI
$ rm ~/.gemrc
然后重试就行了