cocoapods环境配置出错 bad URI(is not URI?): https://ruby.taobao.org/ https://gems.ruby-china.org/ is not a URI

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
然后重试就行了

你可能感兴趣的:(cocoapods环境配置出错 bad URI(is not URI?): https://ruby.taobao.org/ https://gems.ruby-china.org/ is not a URI)