Skip to content

Pin rdoc below 8 on JRuby in install CI - #9656

Merged
hsbt merged 1 commit into
masterfrom
claude/heuristic-shannon-332213
Jun 29, 2026
Merged

Pin rdoc below 8 on JRuby in install CI#9656
hsbt merged 1 commit into
masterfrom
claude/heuristic-shannon-332213

Conversation

@hsbt

@hsbt hsbt commented Jun 29, 2026

Copy link
Copy Markdown
Member

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 rdoc fails on the JRuby matrix entries when gem install rdoc tries to build rbs-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

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
hsbt merged commit e4d0134 into master Jun 29, 2026
107 checks passed
@hsbt
hsbt deleted the claude/heuristic-shannon-332213 branch June 29, 2026 04:56
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant