From 5d9006324f47c2ce66b0cac7aaf6c5c1718183ac Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Mon, 6 Jul 2026 13:12:43 -0400 Subject: [PATCH] Fix JRuby CI broken by rdoc 8 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 https://github.com/ruby/rdoc/issues/1746 --- Gemfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Gemfile b/Gemfile index 34fb6ad9..f370bb66 100644 --- a/Gemfile +++ b/Gemfile @@ -6,6 +6,10 @@ group :development do gem 'rake' gem 'rubygems-tasks', '~> 0.3' + # rdoc 8 depends on rbs, which has no java platform gem before 4.1.0.pre.2. + # See https://github.com/ruby/rdoc/issues/1746 + gem 'rbs', '>= 4.1.0.pre.2' if RUBY_PLATFORM == 'java' + gem 'rubocop', '~> 1.18' gem 'rspec', '~> 3.0'