From: djberg96@... Date: 2015-02-28T18:18:25+00:00 Subject: [ruby-core:68357] [Ruby trunk - Bug #10712] [PATCH] lib/resolv.rb: consider ENETUNREACH as ResolvTimeout Issue #10712 has been updated by Daniel Berger. Isn't that what the -l switch is for? ---------------------------------------- Bug #10712: [PATCH] lib/resolv.rb: consider ENETUNREACH as ResolvTimeout https://bugs.ruby-lang.org/issues/10712#change-51701 * Author: Eric Wong * Status: Closed * Priority: Normal * Assignee: Akira Tanaka * ruby -v: trunk * Backport: 2.0.0: DONE, 2.1: DONE, 2.2: DONE ---------------------------------------- This allows "gem install /path/to/local.gem" to be successful on a machine without a network connection. I'm fairly sure this should be fixed in lib/resolv.rb instead of inside RubyGems (and everything else which relies on rescuing Resolv::ResolvError). ---Files-------------------------------- 0001-lib-resolv.rb-consider-ENETUNREACH-as-ResolvTimeout.patch (904 Bytes) -- https://bugs.ruby-lang.org/