From cd0fa12562f61ecb7d9d8506c4f7c2488a0e094b Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 13 Feb 2015 10:10:15 +1100 Subject: [PATCH] FIX: downgrade pg to stop memory leak --- Gemfile | 5 ++++- Gemfile.lock | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index 1726d715cdb..3226853c6b8 100644 --- a/Gemfile +++ b/Gemfile @@ -145,7 +145,10 @@ gem 'omniauth-github-discourse', require: 'omniauth-github' gem 'omniauth-oauth2', require: false gem 'omniauth-google-oauth2' gem 'oj' -gem 'pg' +# pg is downgraded while we investigate a severe memory issu +# during multi threading that shows up on 0.18.1 +# This also means we DO NOT work on Ruby 2.2 at the moment +gem 'pg', '0.15.1' gem 'pry-rails', require: false gem 'rake' diff --git a/Gemfile.lock b/Gemfile.lock index 4b60ab50aaf..a47b8f38326 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -282,7 +282,7 @@ GEM openid-redis-store (0.0.2) redis ruby-openid - pg (0.18.1) + pg (0.15.1) polyglot (0.3.5) progress (3.0.1) pry (0.10.1) @@ -508,7 +508,7 @@ DEPENDENCIES omniauth-twitter onebox openid-redis-store - pg + pg (= 0.15.1) pry-nav pry-rails puma