我无法在Mac上安装Cocoapods。我有OS Sierra 10.12.6,从自制和红宝石宝石起的所有内容都是最新的。当我输入“ sudo gem install cocoapods”时,出现此错误
estevaano@Estebans-MacBook-Pro ~ sudo gem install cocoapods
ERROR: Could not find a valid gem 'cocoapods' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect
returned=1 errno=0 state=SSLv2/v3 read server hello A: tlsv1 alert
protocol version (https://rubygems.org/latest_specs.4.8.gz)