From 765630f614c7fdb4eca79518d6580dec1fa40430 Mon Sep 17 00:00:00 2001 From: Charlie Sharpsteen Date: Sun, 5 Apr 2026 15:42:34 -0400 Subject: [PATCH 1/2] Remove pinned debug version from Gemfile This commit removes a `debug >= 1.0.0` requirement from the `Gemfile`. The `debug` gem is included in Ruby's default gem set and the `>= 1.0.0` requirement has been satisfied since the release of Ruby 3.1.0. Vanagon requires Ruby 3.2.0 or newer since: OpenVoxProject/vanagon@4c4fe8a5 Dropping this dependency in favor of the default gem eliminates more compiled code along with the need to build a new copy of the `psych` gem and its associated dependency on the `libyaml` C headers. Signed-off-by: Charlie Sharpsteen --- Gemfile | 1 - 1 file changed, 1 deletion(-) diff --git a/Gemfile b/Gemfile index f6be2e52..d44a5396 100644 --- a/Gemfile +++ b/Gemfile @@ -21,7 +21,6 @@ end # "lock_manager" is specified in development dependencies, to allow # the use of unreleased versions of "lock_manager" during development. group(:development, :test) do - gem 'debug', '>= 1.0.0' gem 'fakefs' gem 'json' gem 'lock_manager', *location_for(ENV['LOCK_MANAGER_LOCATION'] || '>= 0') From 443166723a6afbfd286d86348a0a9d01a175641f Mon Sep 17 00:00:00 2001 From: Charlie Sharpsteen Date: Sun, 5 Apr 2026 15:50:29 -0400 Subject: [PATCH 2/2] Remove json dependency from the Gemfile This dependency was added wayyy back in 2015 in puppetlabs/vanagon@6fb5317 likely to gain unified behavior across Ruby versions that did not yet ship the JSON gem. `json` has been a default gem since Ruby 2.3, dropping this dependency reduces the amount of code that needs to be compiled when setting up a development copy of Vanagon. Signed-off-by: Charlie Sharpsteen --- Gemfile | 1 - 1 file changed, 1 deletion(-) diff --git a/Gemfile b/Gemfile index d44a5396..15ac4e49 100644 --- a/Gemfile +++ b/Gemfile @@ -22,7 +22,6 @@ end # the use of unreleased versions of "lock_manager" during development. group(:development, :test) do gem 'fakefs' - gem 'json' gem 'lock_manager', *location_for(ENV['LOCK_MANAGER_LOCATION'] || '>= 0') gem 'packaging', *location_for(ENV['PACKAGING_LOCATION'] || '~> 0.99') gem 'pry-byebug', require: false