I'm trying to install cocoapods on a Macincloud machine, but I keep on getting the error: " ERROR: While executing gem ... (Gem::RemoteFetcher:FetcherError) Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/quick/Marshal.4.8/rubygems-update-3.4.18.gemspec.rz) "
I have already attempted to run "sudo gem update --system" and recieved a similar error code, and "gem sources --add _____", with multiple url's including "https://rubygems.org/quick/Marshal.4.8/cocoapods-1.12.1.gemspec.rz)".