From 6a9af9f0b566f8a13f82a1ca402efa99a3464794 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Thu, 5 Jun 2025 09:14:37 +0200 Subject: [PATCH] [rubygems/rubygems] Tweak to spec setup so that `rspec` instead of our `bin/rspec` binstub still works https://github.com/rubygems/rubygems/commit/24e6699316 --- spec/bundler/support/rubygems_ext.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spec/bundler/support/rubygems_ext.rb b/spec/bundler/support/rubygems_ext.rb index fa85280408..e10400e040 100644 --- a/spec/bundler/support/rubygems_ext.rb +++ b/spec/bundler/support/rubygems_ext.rb @@ -28,6 +28,9 @@ module Spec end def test_setup + # Install test dependencies unless parallel-rspec is being used, since in that case they should be setup already + install_test_deps unless ENV["RSPEC_FORMATTER_OUTPUT_ID"] + setup_test_paths require "fileutils"