End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::Command#execute
execute
lib/rubygems/command.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.1.3/lib/rubygems/command.rb, line 150
def execute
raise Gem::Exception, "generic command has no actions"
end
Override to provide command handling.
options will be filled in with your parsed options, unparsed options will be left in options[:args].
See also: get_all_gem_names, get_one_gem_name, get_one_optional_argument
See also
#description
#get_all_gem_names
#deprecate_option
#get_all_gem_names_and_versions
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.0