diff --git a/Gemfile b/Gemfile index 1726d715c..3226853c6 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 4b60ab50a..a47b8f383 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