Skip to content

A platform for community discussion. Free, open, simple.

DEV: Pin oj gem to 3.13.2. (#14219)

Alan Guo Xiang Tan6a5b44be53d0
diff --git a/Gemfile b/Gemfile
index 48f7879ff69..9c2ff7cdbb6 100644
--- a/Gemfile
+++ b/Gemfile
@@ -105,7 +105,10 @@ gem 'omniauth-oauth2', require: false
gem 'omniauth-google-oauth2'
-gem 'oj'
+# Pinning oj until https://github.com/ohler55/oj/issues/699 is resolved.
+# Segfaults and stuck processes after upgrading.
+gem 'oj', '3.13.2'
+
gem 'pg'
gem 'mini_sql'
gem 'pry-rails', require: false
diff --git a/Gemfile.lock b/Gemfile.lock
index 1aed5f27eb6..c882072f0dc 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -550,7 +550,7 @@ DEPENDENCIES
multi_json
mustache
nokogiri
- oj
+ oj (= 3.13.2)
omniauth
omniauth-facebook
omniauth-github
@@ -609,4 +609,4 @@ DEPENDENCIES
yaml-lint
BUNDLED WITH
- 2.2.19
+ 2.2.26