instance method
Gem::Commands::InstallCommand#execute
execute
lib/rubygems/commands/install_command.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/rubygems/commands/install_command.rb, line 148
def execute
if options.include? :gemdeps
install_from_gemdeps
return # not reached
end
@installed_specs = []
ENV.delete "GEM_PATH" if options[:install_dir].nil?
check_version
load_hooks
exit_code = install_gems
show_installed
say update_suggestion if eligible_for_update?
terminate_interaction exit_code
end
No documentation available