aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rubygems/commands/search_command.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rubygems/commands/search_command.rb')
-rw-r--r--lib/rubygems/commands/search_command.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rubygems/commands/search_command.rb b/lib/rubygems/commands/search_command.rb
index 7810c85b36..c125715fe2 100644
--- a/lib/rubygems/commands/search_command.rb
+++ b/lib/rubygems/commands/search_command.rb
@@ -7,6 +7,8 @@ class Gem::Commands::SearchCommand < Gem::Commands::QueryCommand
super 'search', 'Display all gems whose name contains STRING'
remove_option '--name-matches'
+
+ defaults[:domain] = :remote
end
def arguments # :nodoc: