summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Lance <stefan@lances.net>2015-07-20 12:02:53 -0500
committerStefan Lance <stefan@lances.net>2015-07-20 12:02:53 -0500
commit9fcdb5675ffbdd2e9bd54f4c30b9b13f8dfa32e9 (patch)
treed391abbd25b31faa5197ac05c4c5da52d573eb78
parent92db084a7006ecb0a142df4c83742e3d09b919a1 (diff)
downloadbundler-9fcdb5675ffbdd2e9bd54f4c30b9b13f8dfa32e9.tar.gz
Fix bug in settings.rb
-rw-r--r--lib/bundler/settings.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bundler/settings.rb b/lib/bundler/settings.rb
index aa6b07b609..8be66976f4 100644
--- a/lib/bundler/settings.rb
+++ b/lib/bundler/settings.rb
@@ -217,6 +217,8 @@ module Bundler
end
value
+ rescue Errno::EACCES
+ raise PermissionError.new(file)
end
def global_config_file