I am trying to configure cocoapods on my iOS application. But when I go for the team:
sudo gem update
I get an error: latest version currently installed. Aborting
When I move on to the next step for cocoapods:
sudo gem install cocoapods
I get an error in Mac OS 10.8.5:
ERROR: Error installing cocoapods: cocoapods-trunk requires Ruby version >= 2.0.0.
I tried the same on Mac OS 10.9.4 and got an error:
ERROR: Could not find a valid gem 'cocoapods' (>= 0), here is why: Unable to download data from https://rubygems.org/ - Errno::ECONNREFUSED: Connection refused - connect(2) (https://rubygems.org/latest_specs.4.8.gz)
source share