From: usa@... Date: 2015-01-27T07:39:37+00:00 Subject: [ruby-core:67828] [ruby-trunk - Bug #10712] [PATCH] lib/resolv.rb: consider ENETUNREACH as ResolvTimeout Issue #10712 has been updated by Usaku NAKAMURA. Backport changed from 2.0.0: REQUIRED, 2.1: REQUIRED, 2.2: DONE to 2.0.0: DONE, 2.1: REQUIRED, 2.2: DONE ruby_2_0_0 r49422 merged revision(s) 49175. and also backported a part of r40160. ---------------------------------------- Bug #10712: [PATCH] lib/resolv.rb: consider ENETUNREACH as ResolvTimeout https://bugs.ruby-lang.org/issues/10712#change-51236 * Author: Eric Wong * Status: Closed * Priority: Normal * Assignee: Akira Tanaka * ruby -v: trunk * Backport: 2.0.0: DONE, 2.1: REQUIRED, 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/