Skip to content

Commit 9b6d3d8

Browse files
Merge pull request #5866 from excid3/fix-json-pin
Pin json < 3 for the Rails 7.0, 7.1 and 8.0 gemfiles
2 parents 372b295 + a8478b4 commit 9b6d3d8

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

‎gemfiles/Gemfile-rails-7-0‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ source "https://rubygems.org"
33
gemspec path: ".."
44

55
gem "rails", "~> 7.0.0"
6+
# Active Support in this Rails version passes `quirks_mode` to JSON.generate, which json 3.0 removed.
7+
gem "json", "< 3"
68
gem "omniauth"
79
gem "omniauth-oauth2"
810
gem "rdoc"

‎gemfiles/Gemfile-rails-7-1‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ source "https://rubygems.org"
33
gemspec path: ".."
44

55
gem "rails", "~> 7.1.0"
6+
# Active Support in this Rails version passes `quirks_mode` to JSON.generate, which json 3.0 removed.
7+
gem "json", "< 3"
68
gem "omniauth"
79
gem "omniauth-oauth2"
810
gem "rdoc"

‎gemfiles/Gemfile-rails-8-0‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ source "https://rubygems.org"
33
gemspec path: ".."
44

55
gem "rails", "~> 8.0.0"
6+
# Active Support in this Rails version passes `quirks_mode` to JSON.generate, which json 3.0 removed.
7+
gem "json", "< 3"
68
gem "omniauth"
79
gem "omniauth-oauth2"
810
gem "rdoc"

0 commit comments

Comments
 (0)