gem install cocoapods --pre -V
HEAD https://ruby.taobao.org/api/v1/dependencies
200 OK
GET https://ruby.taobao.org/api/v1/dependencies?gems=cocoapods
200 OK
GET https://ruby.taobao.org/api/v1/dependencies?gems=activesupport,claide,cocoapods-core,cocoapods-downloader,cocoapods-plugins,cocoapods-stats,cocoapods-trunk,cocoapods-try,colored,escape,molinillo,nap,xcodeproj
200 OK
GET https://ruby.taobao.org/api/v1/dependencies?gems=fuzzy_match,netrc
200 OK
GET https://ruby.taobao.org/api/v1/dependencies?gems=i18n,json,minitest,thread_safe,tzinfo
200 OK
GET https://ruby.taobao.org/quick/Marshal.4.8/cocoapods-core-0.38.0.beta.2.gemspec.rz
302 Moved Temporarily
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
hostname "rubygems-china.oss.aliyuncs.com" does not match the server certificate (https://rubygems-china.oss.aliyuncs.com/quick/Marshal.4.8/cocoapods-core-0.38.0.beta.2.gemspec.rz)
而且用浏览器打开https://rubygems-china.oss.aliyuncs.com/quick/Marshal.4.8/cocoapods-core-0.38.0.beta.2.gemspec.rz 也会提示当前服务器的证书 CN 是*.oss-cn-hangzhou.aliyuncs.com
成都电信
PING rubygems-china.oss.aliyuncs.com (112.124.219.38): 56 data bytes
64 bytes from 112.124.219.38: icmp_seq=0 ttl=53 time=50.945 ms
^C
cc @huacnlee