From 56534ac43977562e7083d5fe737b0d7f2272f225 Mon Sep 17 00:00:00 2001 From: Jeremy Evans Date: Tue, 19 Sep 2023 10:33:42 -0700 Subject: [PATCH] Avoid transitively pulling in bigdecimal dependency in CI via sequel_pg->sequel on Ruby <2.1 --- .ci.gemfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.ci.gemfile b/.ci.gemfile index 70587b74b..e47c9d37b 100644 --- a/.ci.gemfile +++ b/.ci.gemfile @@ -85,7 +85,8 @@ platforms :ruby do end # Test current sequel_pg on half of the MRIs, and pure-ruby on the other half - if sequel_pg + # Avoid pulling in bigdecimal gem on Ruby < 2.1 + if sequel_pg && RUBY_VERSION >= '2.1' gem 'sequel_pg', git: 'https://github.com/jeremyevans/sequel_pg', require: 'sequel' end end