Better orror message for config.guess downloading
|ruby -v:||ruby 2.0.0p353 (this is baseruby)||Backport:||2.0.0: DONTNEED, 2.1: WONTFIX|
I recently tried to compile Ruby on a new machine and got the error below:
Trying again today, it suddenly worked, but I think it would be great if there were a better error message. "getaddrinfo: Name or service not known (SocketError)" doesn't even say what it tried to download. Knowing what it tried to download could easily help to try download it by hand, see if the system is actually connected to the outside, and so on.
initialize': getaddrinfo: Name or service not known (SocketError)open'
block in connect'timeout'
buffer_open'block in open_loop'
block in <main>'each'
from get-config_files:3:in `'
checking build system type... /bin/sh: tool/config.guess: No such file or directory
configure: error: cannot guess build type; you must specify one
config_files.rb: show failure
- tool/config_files.rb (ConfigFiles.download): show failed URI. [Bug #9690]