diff --git a/Gemfile b/Gemfile index ecd5dac8b9d..dfea076b047 100644 --- a/Gemfile +++ b/Gemfile @@ -40,7 +40,7 @@ gem "bcrypt", "~> 3.1.11", require: false gem "terser", ">= 1.1.4", require: false # Explicitly avoid 1.x that doesn't support Ruby 2.4+ -gem "json", ">= 2.0.0" +gem "json", ">= 2.0.0", "!=2.7.0" # Workaround until Ruby ships with cgi version 0.3.6 or higher. gem "cgi", ">= 0.3.6", require: false diff --git a/Gemfile.lock b/Gemfile.lock index 0cf50b39529..b20a0a0b9bd 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -593,7 +593,7 @@ DEPENDENCIES importmap-rails (>= 1.2.3) jbuilder jsbundling-rails - json (>= 2.0.0) + json (>= 2.0.0, != 2.7.0) libxml-ruby listen (~> 3.3) mdl