-
-
Notifications
You must be signed in to change notification settings - Fork 328
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
On Ruby 3.3.5: warning: fiddle was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0 #851
Comments
I believe that this issue is at least somewhat related to this Ruby bug: https://bugs.ruby-lang.org/issues/20714 . (I say that because the title of that Ruby bug is "Handle optional dependencies in That Ruby bug, in turn, has generated these two PRs:
However:
|
Fixes deivid-rodriguez#851 The following warning is printed to stderr when using byebug on Ruby 3.3.5: > /home/david/.rbenv/versions/3.3.5/lib/ruby/3.3.0/reline.rb:9: warning: > fiddle was loaded from the standard library, but will no longer be > part of the default gems starting from Ruby 3.5.0. > > You can add fiddle to your Gemfile or gemspec to silence this warning. This change aims to cause that warning no longer to appear, by implementing one of the suggestions in the warning message, i.e. by adding the `fiddle` gem to byebug's gemspec as a runtime dependency.
I have just submitted a PR that I think will fix this issue: #852 (though I don't really know whether or not it's a good idea to merge that PR). |
Note: Looking at the path of |
Problem description
A warning is printed to stderr when using byebug on Ruby 3.3.5:
Expected behavior
No warning is printed.
Actual behavior
The aforementioned warning is printed.
Steps to reproduce the problem
Reproduction script
Output
This issue is about the fact that those last two lines of warning output are printed. We don't want any warnings to be printed.
The text was updated successfully, but these errors were encountered: