diff options
author | Colby Swandale <hello@colby.fyi> | 2018-06-09 00:47:59 +1000 |
---|---|---|
committer | Colby Swandale <hello@colby.fyi> | 2018-06-15 11:15:15 +1000 |
commit | 5fa3b679f548f17bd9607bb7bc2e0d0e133f5887 (patch) | |
tree | 26a8dc0bc95a7e2d15e6ddd3f71467c4f3c9b0a5 /lib/bundler/process_lock.rb | |
parent | 63f0561d8391271c4a9b0551037c4a16686c5c4e (diff) | |
download | bundler-5fa3b679f548f17bd9607bb7bc2e0d0e133f5887.tar.gz |
handle Errno::ENOTSUP in Bundler process lock filecolby/process-lock-enotsup
Diffstat (limited to 'lib/bundler/process_lock.rb')
-rw-r--r-- | lib/bundler/process_lock.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/process_lock.rb b/lib/bundler/process_lock.rb index 4bd6931577..cba4fcdba5 100644 --- a/lib/bundler/process_lock.rb +++ b/lib/bundler/process_lock.rb @@ -12,7 +12,7 @@ module Bundler yield f.flock(File::LOCK_UN) end - rescue Errno::EACCES, Errno::ENOLCK + rescue Errno::EACCES, Errno::ENOLCK, *[SharedHelpers.const_get_safely(:ENOTSUP, Errno)].compact # In the case the user does not have access to # create the lock file or is using NFS where # locks are not available we skip locking. |