From 893f5125e2af572e368ab1c62ba31226d3fbaf53 Mon Sep 17 00:00:00 2001 From: Graeme Porteous Date: Thu, 16 Jan 2025 08:28:02 +0000 Subject: [PATCH] Specify REXML gem in gemspec REXML, although bundled with Ruby core in Ruby 3+, is not a standard gem and needs to be explicitly required. While it's available in development through dev dependencies, adding it directly to the gemspec ensures availability across all environments including production. --- Gemfile.lock | 1 + icasework.gemspec | 1 + 2 files changed, 2 insertions(+) diff --git a/Gemfile.lock b/Gemfile.lock index 73b56dc..bb334bf 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -7,6 +7,7 @@ PATH nokogiri (~> 1.0) pdf-reader (~> 2.4.0) rest-client (~> 2.1.0) + rexml (~> 3.4.0) GEM remote: https://rubygems.org/ diff --git a/icasework.gemspec b/icasework.gemspec index b1cb811..809912f 100644 --- a/icasework.gemspec +++ b/icasework.gemspec @@ -37,4 +37,5 @@ Gem::Specification.new do |spec| spec.add_dependency 'nokogiri', '~> 1.0' spec.add_dependency 'pdf-reader', '~> 2.4.0' spec.add_dependency 'rest-client', '~> 2.1.0' + spec.add_dependency 'rexml', '~> 3.4.0' end