当我尝试安装CocoaPods时,出现以下错误:
gem install cocoapods -V
ERROR: Could not find a valid gem 'cocoapods' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - Host is down - connect(2)
(https://rubygems.org/latest_specs.4.8.gz)
我还安装了最新版本的Command-Line-Tools和Xcode。
我没有使用任何代理!
有没有其他安装Cocoapods的方法?