aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rubygems/commands
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-30 00:54:12 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-30 00:54:12 +0000
commit9f1495232eca5a3c14509ac9acee60b40acd9e0e (patch)
tree07c1340a8c4ea3d0b7ae2f209866af85de089f27 /lib/rubygems/commands
parent86b4e3bb817c4f2992a60eba88b2543d80123804 (diff)
downloadruby-9f1495232eca5a3c14509ac9acee60b40acd9e0e.tar.gz
* lib/rubygems: Update to RubyGems HEAD(60d7972).
this version contains pull requests number of #1343, #1356, #1357, #1363 at https://github.com/rubygems/rubygems/pulls * test/rubygems: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rubygems/commands')
-rw-r--r--lib/rubygems/commands/environment_command.rb2
-rw-r--r--lib/rubygems/commands/help_command.rb10
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