Skip to content

Commit 07fb452

Browse files
hsbtclaude
andcommitted
Point the Ruby::Box guards at their tracker issues
Both guards were written before the bugs had tickets. The $VERBOSE one is now [Bug #22282] rather than a relative of [Bug #21867], and the RUBYOPT -r one is [Bug #22295] rather than unreported. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent 64ce5d8 commit 07fb452

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

spec/commands/install_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2063,8 +2063,8 @@ def run
20632063
end
20642064

20652065
it "preserves bundled native extensions when BUNDLE_CLEAN removes another gem" do
2066-
# The command-line/RUBYOPT -r bypasses gem activation under RUBY_BOX=1, a
2067-
# ruby-core bug (unreported, related to [Bug #21760] item 3)
2066+
# The command-line/RUBYOPT -r bypasses gem activation under RUBY_BOX=1
2067+
# (https://bugs.ruby-lang.org/issues/22295)
20682068
skip "-r cannot activate gems under Ruby::Box" if defined?(Ruby::Box) && Ruby::Box.enabled?
20692069

20702070
build_repo4 do

test/rubygems/test_gem_package_tar_header_ractor.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
class TestGemPackageTarHeaderRactor < Gem::Package::TarTestCase
1111
def setup
1212
super
13-
pend "Ruby::Box ignores $VERBOSE=, so assert_ractor cannot keep the Ractor experimental warning out of the child stderr (ruby-core bug, same family as https://bugs.ruby-lang.org/issues/21867)" if ruby_box_enabled?
13+
pend "Ruby::Box ignores $VERBOSE=, so assert_ractor cannot keep the Ractor experimental warning out of the child stderr (https://bugs.ruby-lang.org/issues/22282)" if ruby_box_enabled?
1414
end
1515

1616
SETUP = <<~RUBY

0 commit comments

Comments
 (0)