Timeout error whenever I run `gem`

Bruno Parga's Avatar

Bruno Parga

08 Mar, 2020 08:04 PM

Hi! I have recently installed Ruby 2.6.5 with rbenv, but I cannot install any gems or basically do anything that involves downloading stuff with the gem command. I'd found this old issue that seemed to relate to IPv6, but I understand that was fixed and I'm running IPv4 anyway. Any ideas?

Here's the exact error message I get:

ERROR:  While executing gem ... (Gem::RemoteFetcher::UnknownHostError)
    timed out (https://rubygems.org/specs.4.8.gz)
  1. Support Staff 1 Posted by David Radcliffe on 08 Mar, 2020 09:55 PM

    David Radcliffe's Avatar

    Can you connect to https://rubygems.org via curl?

  2. David Radcliffe closed this discussion on 08 Mar, 2020 09:55 PM.

  3. Bruno Parga re-opened this discussion on 09 Mar, 2020 08:33 PM

  4. 2 Posted by Bruno Parga on 09 Mar, 2020 08:33 PM

    Bruno Parga's Avatar

    I actually could and once I did that everything started working. Thanks a lot!

  5. David Radcliffe closed this discussion on 11 Mar, 2020 02:04 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac