From 818a0863142877ff43c78a9f8b7005cea1579a02 Mon Sep 17 00:00:00 2001 From: Chandra Date: Wed, 10 Jun 2026 17:53:14 +0530 Subject: [PATCH] fix: pin bigdecimal to < 4 to avoid broken transitive installs via activesupport bigdecimal 4.x is incompatible with certain platforms (el-7-aarch64, el-7-x86_64). Without this pin, a bare 'gem install train' resolves activesupport's transitive dependency to bigdecimal 4.x and fails. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Chandra --- train.gemspec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/train.gemspec b/train.gemspec index e3feb106..e3c5e2da 100644 --- a/train.gemspec +++ b/train.gemspec @@ -31,6 +31,8 @@ Gem::Specification.new do |spec| spec.add_dependency "train-winrm", "~> 0.4.0" # Ruby 3.4 upgrade included spec.add_dependency "activesupport", "~> 7.2", ">= 7.2.3.1" + # bigdecimal 4.x is incompatible to el-7-aarch64, el-7-x86_64; pin to < 4 to avoid broken transitive installs via activesupport + spec.add_dependency "bigdecimal", "< 4" # azure, docker, gcp dependencies spec.add_dependency "inifile", "~> 3.0"