From ef8a3355ee2d4ca372ade14db886ec892852e863 Mon Sep 17 00:00:00 2001 From: Takuro Ashie Date: Thu, 22 Feb 2024 11:51:11 +0900 Subject: [PATCH] Add missing gem dependency on Ruby 3.4-dev base64, csv and drb gems aren't part of the default gems since Ruby 3.4.0. Signed-off-by: Takuro Ashie --- fluentd.gemspec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fluentd.gemspec b/fluentd.gemspec index c16411e588..fd460fb240 100644 --- a/fluentd.gemspec +++ b/fluentd.gemspec @@ -30,6 +30,11 @@ Gem::Specification.new do |gem| gem.add_runtime_dependency("strptime", [">= 0.2.4", "< 1.0.0"]) gem.add_runtime_dependency("webrick", ["~> 1.4"]) + # gems that aren't default gems as of Ruby 3.4 + gem.add_runtime_dependency("base64", ["~> 0.2"]) + gem.add_runtime_dependency("csv", ["~> 3.2"]) + gem.add_runtime_dependency("drb", ["~> 2.2"]) + # build gem for a certain platform. see also Rakefile fake_platform = ENV['GEM_BUILD_FAKE_PLATFORM'].to_s gem.platform = fake_platform unless fake_platform.empty?