summaryrefslogtreecommitdiff
path: root/lib/rubygems/commands/which_command.rb
diff options
context:
space:
mode:
-rw-r--r--lib/rubygems/commands/which_command.rb7
1 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,9 @@
require 'rubygems/command'
require 'rubygems/gem_path_searcher'
@@ -33,6 +39,7 @@ class Gem::Commands::WhichCommand < Gem::Command
found = false
options[:args].each do |arg|
dirs = $LOAD_PATH
spec = searcher.find arg