Pin rdoc below 8 on JRuby in install CI - #9656
Merged
Merged
Conversation
rdoc 8.0.0 added a runtime dependency on rbs, whose C extension cannot be built on JRuby, so `gem install rdoc` fails there. Pin rdoc below 8 on JRuby only until rbs offers a JRuby-compatible build. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
hsbt
added a commit
that referenced
this pull request
Jul 10, 2026
Pin rdoc below 8 on JRuby in install CI (cherry picked from commit e4d0134)
hsbt
added a commit
that referenced
this pull request
Jul 10, 2026
Pin rdoc below 8 on JRuby in install CI (cherry picked from commit e4d0134)
hsbt
added a commit
that referenced
this pull request
Jul 10, 2026
Pin rdoc below 8 on JRuby in install CI (cherry picked from commit e4d0134)
hsbt
added a commit
that referenced
this pull request
Jul 10, 2026
Pin rdoc below 8 on JRuby in install CI (cherry picked from commit e4d0134)
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.
rdoc 8.0.0 (released 2026-06-26) added a runtime dependency on rbs, which ships a C extension that cannot be built on JRuby. As a result the install-rubygems workflow step
Check generating documentation with a non default rdocfails on the JRuby matrix entries whengem install rdoctries to buildrbs-4.0.3. The non-JRuby entries (3.2/3.3/3.4/truffleruby) can build the extension and still pass.This pins rdoc below 8 on JRuby only, so it installs rdoc 7.2.0 which depends on erb/psych/tsort and pulls in no native extension. The other rubies keep installing the latest rdoc. The pin is a temporary CI workaround and should be removed once rbs provides a JRuby-compatible build.
🤖 Generated with Claude Code