-
-
Notifications
You must be signed in to change notification settings - Fork 327
Open
Description
Problem description
A 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.
Expected behavior
No warning is printed.
Actual behavior
The aforementioned warning is printed.
Steps to reproduce the problem
Reproduction script
# File: run-byebug-from-inline-gemfile.rb
# Run with: `ruby run-byebug-from-inline-gemfile.rb`
require 'bundler/inline'
gemfile do
ruby '3.3.5'
source 'https://rubygems.org'
gem 'byebug', github: 'deivid-rodriguez/byebug', ref: '7e7384836defcfb40b675f5405428515b48eea9e'
end
puts("Ruby version: #{RUBY_VERSION}")
require 'byebug/version'
puts("Byebug version: #{Byebug::VERSION}")
require 'fiddle/version'
puts("Fiddle version: #{Fiddle::VERSION}")
byebugOutput
$ ruby run-byebug-from-inline-gemfile.rb
Ruby version: 3.3.5
Byebug version: 11.1.3
Fiddle version: 1.1.2
/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 issue is about the fact that those last two lines of warning output are printed. We don't want any warnings to be printed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels