From ee76bb9a3bf5e7b0dfc74d319343639801236473 Mon Sep 17 00:00:00 2001 From: Brice Sanchez Date: Fri, 12 Jan 2018 21:46:07 -0500 Subject: [PATCH] Fix CI error due to pg 1.0.0 pg 1.0.0 causes activerecord to error as it explicitly depends on ~> 0.18 https://github.com/rails/rails/blob/f30f20ccec9edbffc2b80b2d7e839a4fa9ac 1eac/activerecord/lib/active_record/connection_adapters/postgresql_adapt er.rb#L4 --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 4a719141a5..74ad22d06c 100644 --- a/Gemfile +++ b/Gemfile @@ -35,7 +35,7 @@ end if !ENV['TRAVIS'] || ENV['DB'] == 'postgresql' group :postgres, :postgresql do gem 'activerecord-jdbcpostgresql-adapter', '>= 1.3.0.rc1', platform: :jruby - gem 'pg', platform: :ruby + gem 'pg', '~> 0.21', platform: :ruby end end