Skip to content

Cleanup gemfile#83

Merged
Sharpie merged 2 commits intoOpenVoxProject:mainfrom
Sharpie:cleanup-gemfile
Apr 6, 2026
Merged

Cleanup gemfile#83
Sharpie merged 2 commits intoOpenVoxProject:mainfrom
Sharpie:cleanup-gemfile

Conversation

@Sharpie
Copy link
Copy Markdown
Contributor

@Sharpie Sharpie commented Apr 5, 2026

Short description

This changeset removes the debug and json dependencies from the Gemfile. Resolving these dependencies to the latest versions trigger additional code compilation, along with system dependencies on libyaml development packages. Both gems have been part of the Ruby standard gemsets for a long time and neither has changed significantly in recent history.

Checklist

I have:

  • read the CONTRIBUTING.md document
  • read and accepted the Developer Certificate of Origin document and added a Signed-off-by annotation to each of my commits
  • tested this code
  • included documentation (including possible behaviour changes)
  • documented the code
  • added or modified regression test(s)
  • added or modified unit test(s)

Sharpie added 2 commits April 5, 2026 15:49
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 <charlie@overlookinfratech.com>
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 <charlie@overlookinfratech.com>
@Sharpie Sharpie merged commit 768db90 into OpenVoxProject:main Apr 6, 2026
6 checks passed
@Sharpie Sharpie deleted the cleanup-gemfile branch April 6, 2026 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants