End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
Gem::ConsoleUI.new
new
lib/rubygems/user_interaction.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/rubygems/user_interaction.rb, line 606
def initialize
super STDIN, STDOUT, STDERR, true
end
The Console UI has no arguments as it defaults to reading input from stdin, output to stdout and warnings or errors to stderr.