Pin rbs to >= 4.1.0.pre.2 to fix JRuby CI#442
Merged
Conversation
rdoc 8 added a dependency on rbs, which has no java platform gem before 4.1.0.pre.2, so bundle install fails building rbs's C extension on JRuby. Pin rbs to >= 4.1.0.pre.2 on JRuby only. See ruby/rdoc#1746
e34b898 to
5d90063
Compare
This was referenced Jul 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The
jrubyCI job fails atbundle install:rdoc 8added a dependency onrbs(pulled in transitively:rubygems-tasks→irb→rdoc). Before4.1.0.pre.2,rbsshipped only a C-extension gem, sobundle installtries to compile a native extension — which fails on the JRuby CI runner because it has no C compiler toolchain.Upstream: ruby/rdoc#1746
Fix
Pin
rbsto>= 4.1.0.pre.2on JRuby only — that release publishes ajavaplatform variant with no native extension to build. Other Rubies are unaffected and keep resolving whateverrdoc/rbsthey normally would.