From 584fef441cbd08b52c912ade95fa50ed404a46c5 Mon Sep 17 00:00:00 2001 From: Emily S Date: Wed, 13 Sep 2023 12:44:52 +0200 Subject: [PATCH] Pin version of bigdecimal for ruby 2.4 (#1417) * Pin version of bigdecimal for ruby 2.4 * No reason to use the optimistic version constraint --- Gemfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Gemfile b/Gemfile index 7792af639..67accc6f7 100644 --- a/Gemfile +++ b/Gemfile @@ -131,6 +131,10 @@ if Gem::Version.create(RUBY_VERSION) >= Gem::Version.create('2.5.0') && !defined gem 'sneakers', github: 'jondot/sneakers', ref: 'd761dfe1493', require: nil end +if Gem::Version.create(RUBY_VERSION) <= Gem::Version.create('2.5.0') + gem 'bigdecimal', '1.3.5' +end + group :bench do gem 'ruby-prof', require: nil, platforms: %i[ruby] gem 'stackprof', require: nil, platforms: %i[ruby]