From fe77720302a6e81ff621ef071486ec123c9f74f7 Mon Sep 17 00:00:00 2001 From: Ewoud Kohl van Wijngaarden Date: Sat, 30 Jul 2022 18:56:34 +0200 Subject: [PATCH] Fixes #35463 - Allow newer rdoc on Ruby 3.1 Ruby 3.1 ships rdoc 6.1 by default. --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index c383b1a983e..36501cad54f 100644 --- a/Gemfile +++ b/Gemfile @@ -14,7 +14,7 @@ gem 'apipie-rails', '>= 0.8.0', '< 2' gem 'apipie-dsl', '>= 2.6.2' # Pin rdoc to prevent updating bundled psych (https://github.com/ruby/rdoc/commit/ebe185c8775b2afe844eb3da6fa78adaa79e29a4) # Rails 6.0 is incompatible with Psych 4, Rails 6.1 should work -gem 'rdoc', '< 6.4' +gem 'rdoc', RUBY_VERSION < '3.1' ? '< 6.4' : nil gem 'rabl', '>= 0.15.0', '< 1' gem 'oauth', '~> 1.0' gem 'deep_cloneable', '>= 3', '< 4'