diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2016-11-30 15:28:56 -0600 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2016-11-30 15:28:56 -0600 |
commit | e81161c744242580c14854a7ec4563383bf07db5 (patch) | |
tree | 8a5b231aec8f7f481b9e3c2777646e461b0b45e0 /lib | |
parent | b77e96f6db444534cf69013c8e8b0346e88b76d1 (diff) | |
download | bundler-e81161c744242580c14854a7ec4563383bf07db5.tar.gz |
[SharedHelpers] Ignore EEXIST and ENOENT in #filesystem_accessseg-filesystem-access-generic-system-error
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bundler/shared_helpers.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bundler/shared_helpers.rb b/lib/bundler/shared_helpers.rb index f7806ce1d6..62ade29e30 100644 --- a/lib/bundler/shared_helpers.rb +++ b/lib/bundler/shared_helpers.rb @@ -115,6 +115,8 @@ module Bundler raise NoSpaceOnDeviceError.new(path, action) rescue *[const_get_safely(:ENOTSUP, Errno)].compact raise OperationNotSupportedError.new(path, action) + rescue Errno::EEXIST, Errno::ENOENT + raise rescue SystemCallError => e raise GenericSystemCallError.new(e, "There was an error accessing `#{path}`.") end |