End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
Gem::Util.popen
popen(*command)
lib/rubygems/util.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/rubygems/util.rb, line 55
def self.popen(*command)
IO.popen command, &:read
end
This calls IO.popen and reads the result