Project

General

Profile

Bug #10712

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

Added by normalperson (Eric Wong) over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
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

Associated revisions

Revision 89ba1514
Added by normal over 4 years ago

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]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 49175
Added by normalperson (Eric Wong) over 4 years ago

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]

Revision 49175
Added by normal over 4 years ago

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]

Revision 49175
Added by normal over 4 years ago

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]

Revision 49175
Added by normal over 4 years ago

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]

Revision 49175
Added by normal over 4 years ago

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]

Revision cec9163e
Added by naruse (Yui NARUSE) over 4 years ago

merge revision(s) 49175: [Backport #10712]

    * lib/resolv.rb: consider ENETUNREACH as ResolvTimeout
      [ruby-core:67411] [Bug #10712]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 49286
Added by naruse (Yui NARUSE) over 4 years ago

merge revision(s) 49175: [Backport #10712]

* lib/resolv.rb: consider ENETUNREACH as ResolvTimeout
  [ruby-core:67411] [Bug #10712]

Revision 50e48bc3
Added by usa (Usaku NAKAMURA) over 4 years ago

merge revision(s) 49175: [Backport #10712]

    * lib/resolv.rb: consider ENETUNREACH as ResolvTimeout
      [ruby-core:67411] [Bug #10712]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@49422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 49422
Added by usa (Usaku NAKAMURA) over 4 years ago

merge revision(s) 49175: [Backport #10712]

* lib/resolv.rb: consider ENETUNREACH as ResolvTimeout
  [ruby-core:67411] [Bug #10712]

Revision 8e73157d
Added by nagachika (Tomoyuki Chikanaga) over 4 years ago

merge revision(s) r49175: [Backport #10712]

    * lib/resolv.rb: consider ENETUNREACH as ResolvTimeout
      [ruby-core:67411] [Bug #10712]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@49785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 49785
Added by nagachika (Tomoyuki Chikanaga) over 4 years ago

merge revision(s) r49175: [Backport #10712]

* lib/resolv.rb: consider ENETUNREACH as ResolvTimeout
  [ruby-core:67411] [Bug #10712]

History

Updated by akr (Akira Tanaka) over 4 years ago

Please commit.

#2

Updated by Anonymous over 4 years ago

  • 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) over 4 years ago

  • 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 4 years ago

  • 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 4 years ago

  • 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 4 years ago

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

Also available in: Atom PDF