Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RubyGems times out
#1
This is a fix I found that got me pass the error:
ERROR: While executing gem ... (Gem::RemoteFetcher::UnknownHostError)
time out (https://rubygems.org/specs.4.8.gz

Fix:
According to the man page, inserting a 

Code:
precedence

[size=undefined]
 value in gai.conf disables the all the other default rules. Try setting all the rules as listed in RFC 3484 (10.3):[/size]


Code:
add contents to sudoedit /etc/gai.conf



 Prefix        Precedence Label
 ::1/128               50     0
 ::/0                  40     1
 2002::/16             30     2
 ::/96                 20     3
 ::ffff:0:0/96        100     4
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)