Project

General

Profile

Actions

Bug #10712

closed

[PATCH] lib/resolv.rb: consider ENETUNREACH as ResolvTimeout

Bug #10712: [PATCH] lib/resolv.rb: consider ENETUNREACH as ResolvTimeout

Added by normalperson (Eric Wong) almost 11 years ago. Updated over 10 years ago.

Status:
Closed
Target version:
ruby -v:
trunk
[ruby-core:67410]

Description

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

Updated by akr (Akira Tanaka) almost 11 years ago Actions #1 [ruby-core:67411]

Please commit.

Updated by Anonymous almost 11 years ago Actions #2

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

Applied in changeset r49175.


lib/resolv.rb: consider ENETUNREACH as ResolvTimeout

This allows "gem install /path/to/local.gem" to be successful
on a machine without a network connection.

[ruby-core:67411] [Bug #10712]

Updated by naruse (Yui NARUSE) almost 11 years ago Actions #3 [ruby-core:67633]

  • Backport changed from 2.0.0: REQUIRED, 2.1: REQUIRED, 2.2: REQUIRED to 2.0.0: REQUIRED, 2.1: REQUIRED, 2.2: DONE

ruby_2_2 r49286 merged revision(s) 49175.

Updated by usa (Usaku NAKAMURA) over 10 years ago Actions #4 [ruby-core:67828]

  • 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.

Updated by nagachika (Tomoyuki Chikanaga) over 10 years ago Actions #5 [ruby-core:68352]

  • 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.

Updated by djberg96 (Daniel Berger) over 10 years ago Actions #6 [ruby-core:68357]

Isn't that what the -l switch is for?

Actions

Also available in: PDF Atom