diff --git a/lib/bundler/fetcher.rb b/lib/bundler/fetcher.rb index 9984adc066..c07e8ab350 100644 --- a/lib/bundler/fetcher.rb +++ b/lib/bundler/fetcher.rb @@ -76,6 +76,7 @@ module Bundler Gem::Timeout::Error, EOFError, SocketError, + Errno::EADDRNOTAVAIL, Errno::ENETDOWN, Errno::ENETUNREACH, Errno::EINVAL, diff --git a/spec/bundler/commands/install_spec.rb b/spec/bundler/commands/install_spec.rb index df30a63c36..248e73be77 100644 --- a/spec/bundler/commands/install_spec.rb +++ b/spec/bundler/commands/install_spec.rb @@ -690,8 +690,6 @@ RSpec.describe "bundle install with gem sources" do end it "gracefully handles error when rubygems server is unavailable" do - skip "networking issue" if Gem.win_platform? - install_gemfile <<-G, artifice: nil, raise_on_error: false source "https://gem.repo1" source "http://0.0.0.0:9384" do