From: nagachika00@... Date: 2015-02-28T16:16:27+00:00 Subject: [ruby-core:68352] [Ruby trunk - Bug #10712] [PATCH] lib/resolv.rb: consider ENETUNREACH as ResolvTimeout Issue #10712 has been updated by Tomoyuki Chikanaga. Backport changed from 2.0.0: DONE, 2.1: REQUIRED, 2.2: DONE to 2.0.0: DONE, 2.1: DONE, 2.2: DONE Backported into `ruby_2_1` at r49785. ---------------------------------------- Bug #10712: [PATCH] lib/resolv.rb: consider ENETUNREACH as ResolvTimeout https://bugs.ruby-lang.org/issues/10712#change-51697 * 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/