Better orror message for config.guess downloading
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
Updated by nobu (Nobuyoshi Nakada) over 7 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
Applied in changeset r45494.
config_files.rb: show failure
- tool/config_files.rb (ConfigFiles.download): show failed URI. [ruby-core:61792] [Bug #9690]