I have a ruby โโversion: ruby โโ2.1.2p95 (version 2014-05-08 45877) [x86_64-darwin13.0] When I try to install cocoapods, I get:
$ sudo gem install cocoapods -V ERROR: Could not find a valid gem 'cocoapods' (>= 0), here is why: Unable to download data from https://rubygems.org/ - no such name (https://api.rubygems.org/latest_specs.4.8.gz) GET https://api.rubygems.org/prerelease_specs.4.8.gz 302 Moved Temporarily GET https://s3.amazonaws.com/production.s3.rubygems.org/prerelease_specs.4.8.gz 200 OK GET https://api.rubygems.org/specs.4.8.gz 302 Moved Temporarily GET https://s3.amazonaws.com/production.s3.rubygems.org/specs.4.8.gz 200 OK ERROR: Possible alternatives: cocoapods
Anyone help me solve this problem?
source share