From 3a3286776202afba483322d8c7757f70519f154f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Thu, 12 Dec 2024 17:21:13 +0100 Subject: [PATCH] [rubygems/rubygems] Add note about why we don't use `Open3` https://github.com/rubygems/rubygems/commit/72316ed2fa --- spec/bundler/support/rubygems_ext.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/bundler/support/rubygems_ext.rb b/spec/bundler/support/rubygems_ext.rb index 20cdea76fe20fc..82b2819858ba14 100644 --- a/spec/bundler/support/rubygems_ext.rb +++ b/spec/bundler/support/rubygems_ext.rb @@ -150,6 +150,7 @@ def install_gems(gemfile, path = nil) ENV["BUNDLE_PATH__SYSTEM"] = "true" end + # We don't use `Open3` here because it does not work on JRuby + Windows output = `#{Gem.ruby} #{File.expand_path("support/bundle.rb", Path.spec_dir)} install` raise output unless $?.success? ensure