Skip to content

Commit 53e2342

Browse files
hsbtclaude
andcommitted
Gate the MAKEFLAGS jobserver spec on RubyGems 4.1
Older system RubyGems writes the build log to the extension directory, so under RGV=system the example read the new build_info path and hit ENOENT. The `-j` suppression it verifies only exists with the jobserver support in RubyGems 4.1, so gate it like its sibling examples. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 3ee21a5 commit 53e2342

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spec/commands/install_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1389,7 +1389,7 @@ def gem_make_out
13891389
end
13901390
end
13911391

1392-
it "doesn't pass down -j to make when MAKEFLAGS is set" do
1392+
it "doesn't pass down -j to make when MAKEFLAGS is set", rubygems: ">= 4.1.0.dev" do
13931393
ENV["MAKEFLAGS"] = "-j1"
13941394

13951395
install_gemfile(<<~G, env: { "BUNDLE_JOBS" => "8" }, raise_on_error: false)

0 commit comments

Comments
 (0)