From 8f8dffb2b489b0d4749d260a8b836be7665f7d79 Mon Sep 17 00:00:00 2001 From: Adam Rice Date: Thu, 26 Dec 2024 18:00:35 +1100 Subject: [PATCH] Explicitly require base64 and csv Ruby has been trying to reduce the surface area of the standard library. While Base64 and CSV are default gems, starting with Ruby 3.4,they are no longer included in the standard library and must be explicitly included as dependencies --- roo.gemspec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roo.gemspec b/roo.gemspec index c6561c22..271282b4 100644 --- a/roo.gemspec +++ b/roo.gemspec @@ -23,6 +23,8 @@ Gem::Specification.new do |spec| spec.required_ruby_version = ">= 2.7.0" end + spec.add_dependency 'base64', '~> 0.2' + spec.add_dependency 'csv', '~> 3' spec.add_dependency 'nokogiri', '~> 1' spec.add_dependency 'rubyzip', '>= 1.3.0', '< 3.0.0'