End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
Gem::Commands::PushCommand.new
new
lib/rubygems/commands/push_command.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/rubygems/commands/push_command.rb, line 31
def initialize
super "push", "Push a gem up to the gem server", :host => self.host
@user_defined_host = false
add_proxy_option
add_key_option
add_otp_option
add_option("--host HOST",
"Push to another gemcutter-compatible host",
" (e.g. https://rubygems.org)") do |value, options|
options[:host] = value
@user_defined_host = true
end
@host = nil
end
No documentation available