I'm trying to update a gem:
sudo gem update fastlane
But each time I try to do this update, or any update on any gem I get:
Updating installed gems
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://api.rubygems.org/specs.4.8.gz)
I've been searching around for a fix all day and cannot find anything that has worked. It worked last week, and it works on a different Mac. This seems to have started randomly.