From 1bb7a1784320a55f893e2e93cbe2048a1a070abc Mon Sep 17 00:00:00 2001 From: Petr Klemsinsky Date: Tue, 20 Oct 2026 14:51:46 +0200 Subject: [PATCH] fix(gemspec): declare the gems Ruby 4 unbundled lib/ requires base64, benchmark, csv and logger directly. They were default gems up to Ruby 3.0 and are bundled gems from Ruby 3.4/4.0 on, so they still resolve standalone but are invisible under bundler unless a gemspec asks for them. On Fedora 44 agents this takes out every consumer that loads gooddata through bundler: bench_middleware dies on LoadError before anything runs. Same shape as the net-smtp block above. JIRA: INFRA-4765 Co-Authored-By: Claude Opus 5 (1M context) --- gooddata.gemspec | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gooddata.gemspec b/gooddata.gemspec index c46f46155..8dff4c57e 100644 --- a/gooddata.gemspec +++ b/gooddata.gemspec @@ -93,6 +93,14 @@ Gem::Specification.new do |s| s.add_dependency 'net-pop' end + # Default gems up to Ruby 3.0, bundled gems from Ruby 3.4/4.0 on. A bundled + # gem still resolves standalone, but is invisible under bundler unless some + # gemspec asks for it, and lib/ requires all four directly. + s.add_dependency 'base64' + s.add_dependency 'benchmark' + s.add_dependency 'csv' + s.add_dependency 'logger' + s.add_dependency 'aws-sdk-s3', '~> 1.16' if RUBY_VERSION >= '2.5' s.add_dependency 'docile', '~> 1.1'