End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::GemRunner#run
run(args)
lib/rubygems/gem_runner.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/rubygems/gem_runner.rb, line 35
def run(args)
build_args = extract_build_args args
do_configuration args
cmd = @command_manager_class.instance
cmd.command_names.each do |command_name|
config_args = Gem.configuration[command_name]
config_args = case config_args
when String
config_args.split ' '
else
Array(config_args)
end
Gem::Command.add_specific_extra_args command_name, config_args
end
cmd.run Gem.configuration.args, build_args
end
Run the gem command with the following arguments.