diff --git a/Gemfile b/Gemfile index b165f31..9dba000 100644 --- a/Gemfile +++ b/Gemfile @@ -6,6 +6,12 @@ group :development do gem "irb" gem "bundler" gem "rake" + if RUBY_ENGINE == 'jruby' + # RDoc 8 pulls in RBS 4, which attempts to build a native extension on JRuby. + gem 'rdoc', '< 8' + else + gem 'rdoc' + end gem "test-unit" gem "test-unit-ruby-core", ">= 1.0.7" end