Maintenance Ruby 3.4 gets fixes, but no new features. 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.4.1/lib/rubygems/exceptions.rb, line 239
def initialize(exit_code)
super exit_code, "Exiting RubyGems with exit_code #{exit_code}"
end
Creates a new SystemExitException with the given exit_code