Problem description:
I try to install a gem, say, sass:
gem install sass
And get this answer:
Errno::ETIMEOUT: A connection attempt failed because the connected partydid not properly respond after a period of time, or established connection failed because connected host failed to respond. - connect(2) for "api.rubygems.org" port 443 (https://api.rubygems.org/specs.4.8.gz)
What I have tried:
Add a http source from where to retrieve the gems, and remove the https.
gem source -a "http://rubygems.org"
gem source -r "https://rubygems.org"
Big mistake... Now I cannot add back any of these sources because I carry on not being able to receive a response from them.
I have reinstalled ruby.
I have turned on and off my computer and contacted the IT crowd...
Anyone?
this did not help either.