Skip to content

Commit 54d50ff

Browse files
committed
Avoid spurious Gemfile.lock changes with BUNDLE_FROZEN=1
1 parent 3ba83a7 commit 54d50ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

harness/harness-common.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def setup_cmds(c)
5151
def use_gemfile(extra_setup_cmd: nil)
5252
# Benchmarks should normally set their current directory and then call this method.
5353

54-
setup_cmds(["bundle check 2> /dev/null || bundle install", extra_setup_cmd].compact)
54+
setup_cmds(["bundle check 2> /dev/null || BUNDLE_FROZEN=1 bundle install", extra_setup_cmd].compact)
5555

5656
# Need to be in the appropriate directory for this...
5757
require "bundler"

0 commit comments

Comments
 (0)