diff options
-rw-r--r-- | lib/bundler.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/bundler.rb b/lib/bundler.rb index 9944ebd051..8e30bc4f57 100644 --- a/lib/bundler.rb +++ b/lib/bundler.rb @@ -421,7 +421,9 @@ EOF end def read_file(file) - File.open(file, "rb", &:read) + SharedHelpers.filesystem_access(file, :read) do + File.open(file, "rb", &:read) + end end def load_marshal(data) |