$NetBSD: patch-aa,v 1.1 2006/10/05 09:30:27 cube Exp $

--- lib/rubygems/gem_commands.rb.orig	2006-06-22 04:44:51.000000000 +0200
+++ lib/rubygems/gem_commands.rb
@@ -1329,6 +1329,7 @@ module Gem
 	if s.empty?
 	  path_kind = "default gem paths"
 	  system = true
+	  s = Gem::SourceIndex.installed_spec_directories
 	else
 	  path_kind = "specified path"
 	  system = false
