summaryrefslogtreecommitdiff
path: root/lib/rubygems/commands/install_command.rb
diff options
context:
space:
mode:
-rw-r--r--lib/rubygems/commands/install_command.rb7
1 files changed, 5 insertions, 2 deletions
@@ -27,6 +27,8 @@ class Gem::Commands::InstallCommand < Gem::Command
:without_groups => [],
})
super 'install', 'Install a gem into the local repository', defaults
add_install_update_options
@@ -43,8 +45,9 @@ class Gem::Commands::InstallCommand < Gem::Command
end
def defaults_str # :nodoc:
- "--both --version '#{Gem::Requirement.default}' --document --no-force\n" +
- "--install-dir #{Gem.dir} --lock"
end
def description # :nodoc: