Skip to content

Commit cb76bbd

Browse files
hsbtclaude
andcommitted
[ruby/rubygems] Require stringio before use in default_system_gems helper
ruby/rubygems@c8f6a8ad8c Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 834f4d2 commit cb76bbd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

spec/bundler/support/helpers.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,7 @@ def installed_gems_list(options = {})
374374
require "rubygems/commands/list_command"
375375

376376
# Capture output from the list command
377+
require "stringio"
377378
output_io = StringIO.new
378379
cmd = Gem::Commands::ListCommand.new
379380
cmd.ui = Gem::StreamUI.new(StringIO.new, output_io, StringIO.new, false)

0 commit comments

Comments
 (0)