Diffstat (limited to 'lib/rubygems/commands/which_command.rb')
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/rubygems/commands/which_command.rb b/lib/rubygems/commands/which_command.rb
index 6495278a87..99b9085b2b 100644
@@ -23,6 +23,17 @@ class Gem::Commands::WhichCommand < Gem::Command
+ def description # :nodoc:
+The which command is like the shell which command and shows you where
+the file you wish to require lives.
+You can use the which command to help determine why you are requiring a
+version you did not expect or to look at the content of a file you are
+requiring to see why it does not behave as you expect.
found = false