aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/definition.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/definition.rb')
-rw-r--r--lib/bundler/definition.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/definition.rb b/lib/bundler/definition.rb
index a19c2ddf78..1de9a72932 100644
--- a/lib/bundler/definition.rb
+++ b/lib/bundler/definition.rb
@@ -343,7 +343,7 @@ module Bundler
preserve_unknown_sections ||= !updating_major && (Bundler.frozen_bundle? || !(unlocking? || @unlocking_bundler))
if file && File.exist?(file) && lockfiles_equal?(@lockfile_contents, contents, preserve_unknown_sections)
- FileUtils.touch(file)
+ SharedHelpers.filesystem_access(file) {|p| FileUtils.touch(p) }
return
end