Whilst installing Ruby gems I'm getting the following error:
ERROR: Could not find a valid gem 'bundler' (>= 0), here is why: Unable to download data from https://rubygems.org/ - Errno::ETIMEDOUT: Failed to open TCP connection to api.rubygems.org:443 (A connection attempt fai led because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. - connect(2) for "api.rubygems.org" port 443) (https://api.rubygems.org/specs.4. 8.gz)
Gems I've attempted to install:
Nokogiri
Mechanize
Bundler
(Obviously)
All producing the same error, I'm guessing it's all the gems, not just bundler.
I've never seen this before so I'm not sure what to do, could someone tell me what's going on? It's probably worth mentioning that I am on a secure network.
UPDATE:
I've attempted to initialize a new rule in my firewall that will allow me to use TCP connection through port 443 (the port that gem install
runs off of); However I'm still getting the error
UPDATE:
I've done some research and attempted to update using gem update --system
via this resource. However it's still throwing the same error, and will not allow me to update