Skip to content

Commit

Permalink
[rubygems/rubygems] Add note about why we don't use Open3
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez authored and hsbt committed Dec 13, 2024
1 parent 4fe134f commit 3a32867
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/bundler/support/rubygems_ext.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3a32867

Please sign in to comment.