summaryrefslogtreecommitdiff
path: root/lib/bundler.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler.rb')
-rw-r--r--lib/bundler.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler.rb b/lib/bundler.rb
index 4f9413540a..d222befc98 100644
--- a/lib/bundler.rb
+++ b/lib/bundler.rb
@@ -110,7 +110,7 @@ module Bundler
when :write then "write to"
when :executable, :exec then "execute"
else @permission_type.to_s
- end
+ end
"There was an error while trying to #{action} `#{@path}`. " \
"It is likely that you need to grant #{@permission_type} permissions " \
"for that path."
@@ -385,7 +385,7 @@ module Bundler
end
def read_file(file)
- File.open(file, "rb") {|f| f.read }
+ File.open(file, "rb", &:read)
end
def load_marshal(data)