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'