End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
Gem::SystemExitException.new
new(exit_code)
lib/rubygems/exceptions.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/rubygems/exceptions.rb, line 200
def initialize(exit_code)
@exit_code = exit_code
super "Exiting RubyGems with exit_code #{exit_code}"
end
Creates a new SystemExitException with the given exit_code