Skip to content

Commit

Permalink
Set bundler environmental variables when they are provided
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed May 25, 2023
1 parent 586f3ed commit d0d84ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/turbo_tests/runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -148,14 +148,15 @@ def start_subprocess(env, extra_args, tests, process_id, record_runtime:)
end

command = [
ENV["BUNDLE_BIN_PATH"], "exec", "rspec",
"rspec",
*extra_args,
"--seed", rand(0xFFFF).to_s,
"--format", "TurboTests::JsonRowsFormatter",
"--out", tmp_filename,
*record_runtime_options,
*tests
]
command.unshift(ENV["BUNDLE_BIN_PATH"], "exec") if ENV["BUNDLE_BIN_PATH"]

if @verbose
command_str = [
Expand Down

0 comments on commit d0d84ac

Please sign in to comment.