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
config_files.rb: show failure
- tool/config_files.rb (ConfigFiles.download): show failed URI. [Bug #9690]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e