在 OSX Mavericks 上运行“gem install cocoapods”时出现错误。
$ gem install cocoapods
ERROR: Could not find a valid gem 'cocoapods' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - bad response backend read error 503 (https://rubygems.global.ssl.fastly.net/quick/Marshal.4.8/cocoapods-0.27.1.gemspec.rz)
ERROR: Possible alternatives: cocoapods
请注意,我可以直接下载 cocoapods-0.27.1.gemspec.rz。我正在运行最新版本的 XCode (5.0.1) 及其 CLI 工具的最新版本。RVM 还配置为运行最新的 Ruby 版本 (2.0.0p247)