This looks like a transient error because https://rubygems.org/ wasn’t responding in time; is your server behind a firewall that might block access to the RubyGems site?
This looks like a transient error because https://rubygems.org/ wasn’t responding in time; is your server behind a firewall that might block access to the RubyGems site?