summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2025-06-05 09:14:37 +0200
committerHiroshi SHIBATA <[email protected]>2025-06-06 10:09:14 +0900
commit6a9af9f0b566f8a13f82a1ca402efa99a3464794 (patch)
tree8a503068bd72d6e97a8fd4d2400152ad07555889
parent3ba066e54f9bfae053ca4baac90a4f745166a507 (diff)
[rubygems/rubygems] Tweak to spec setup so that `rspec` instead of our `bin/rspec` binstub still works
https://github.com/rubygems/rubygems/commit/24e6699316
-rw-r--r--spec/bundler/support/rubygems_ext.rb3
1 files changed, 3 insertions, 0 deletions
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"