diff options
Diffstat (limited to 'lib/rubygems/commands')
-rw-r--r-- | lib/rubygems/commands/environment_command.rb | 2 | ||||
-rw-r--r-- | lib/rubygems/commands/help_command.rb | 10 |
2 files changed, 2 insertions, 10 deletions
diff --git a/lib/rubygems/commands/environment_command.rb b/lib/rubygems/commands/environment_command.rb index 067d0b1607..79dd710bdf 100644 --- a/lib/rubygems/commands/environment_command.rb +++ b/lib/rubygems/commands/environment_command.rb @@ -113,6 +113,8 @@ lib/rubygems/defaults/operating_system.rb out << " - INSTALLATION DIRECTORY: #{Gem.dir}\n" + out << " - USER INSTALLATION DIRECTORY: #{Gem.user_dir}\n" + out << " - RUBYGEMS PREFIX: #{Gem.prefix}\n" unless Gem.prefix.nil? out << " - RUBY EXECUTABLE: #{Gem.ruby}\n" diff --git a/lib/rubygems/commands/help_command.rb b/lib/rubygems/commands/help_command.rb index 955ceb929f..c407836467 100644 --- a/lib/rubygems/commands/help_command.rb +++ b/lib/rubygems/commands/help_command.rb @@ -370,15 +370,5 @@ platform. end end - def show_help # :nodoc: - command = @command_manager[options[:help]] - if command then - # help with provided command - command.invoke("--help") - else - alert_error "Unknown command #{options[:help]}. Try 'gem help commands'" - end - end - end |