summaryrefslogtreecommitdiff
path: root/tasks/bundle_util.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tasks/bundle_util.rb')
-rw-r--r--tasks/bundle_util.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/tasks/bundle_util.rb b/tasks/bundle_util.rb
index c2f1ca51e3..a057db858a 100644
--- a/tasks/bundle_util.rb
+++ b/tasks/bundle_util.rb
@@ -25,12 +25,12 @@ module BundleUtil
result
end
- def with_bundle_unfrozen(cwd: nil)
+ def with_bundle_unfrozen(cwd: nil, leave_frozen: false)
bundle "config --delete frozen", cwd: cwd
begin
yield
ensure
- bundle "config --local frozen 1", cwd: cwd
+ bundle "config --local frozen 1", cwd: cwd unless leave_frozen
end
end