From 54d50ff53788e3fd5d081307e89b2e435b59adaa Mon Sep 17 00:00:00 2001 From: Alan Wu Date: Fri, 27 Mar 2026 13:47:16 -0400 Subject: [PATCH] Avoid spurious Gemfile.lock changes with BUNDLE_FROZEN=1 --- harness/harness-common.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/harness/harness-common.rb b/harness/harness-common.rb index 2d9ceb74..aa37e3bf 100644 --- a/harness/harness-common.rb +++ b/harness/harness-common.rb @@ -51,7 +51,7 @@ def setup_cmds(c) def use_gemfile(extra_setup_cmd: nil) # Benchmarks should normally set their current directory and then call this method. - setup_cmds(["bundle check 2> /dev/null || bundle install", extra_setup_cmd].compact) + setup_cmds(["bundle check 2> /dev/null || BUNDLE_FROZEN=1 bundle install", extra_setup_cmd].compact) # Need to be in the appropriate directory for this... require "bundler"