Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation warning with latest Ruby/Gem version and RBenv #1406

Open
jhbuchanan45 opened this issue Oct 23, 2024 · 0 comments · May be fixed by #1408
Open

Deprecation warning with latest Ruby/Gem version and RBenv #1406

jhbuchanan45 opened this issue Oct 23, 2024 · 0 comments · May be fixed by #1408
Labels
bug needs-triage Newly created issue that has not been reviewed by a PDK contributor

Comments

@jhbuchanan45
Copy link

Describe the bug
Seeing this error in the logs 100s of times. This doesn't break behaviour but it does clog up the logs.

NOTE: Gem::Platform.match is deprecated; use Gem::Platform.match_spec? or match_gem? instead. It will be removed in Rubygems 4
Gem::Platform.match called from /Users/jacobbuchanan/.rbenv/versions/3.3.5/lib/ruby/gems/3.3.0/gems/pdk-3.3.0/lib/pdk/util/puppet_version.rb:185.

I'm using rbenv to manage Ruby with Ruby version 3.3.5 and the latest version of Ruby Gem. PDK is version 3.3.0

I'm guessing this is fairly easy to fix, but I'm not sure about the backwards compatibility implications.

To Reproduce
Run PDK validate with ruby 3.3.5

@jhbuchanan45 jhbuchanan45 added bug needs-triage Newly created issue that has not been reviewed by a PDK contributor labels Oct 23, 2024
@jhbuchanan45 jhbuchanan45 linked a pull request Oct 23, 2024 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug needs-triage Newly created issue that has not been reviewed by a PDK contributor
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant