From f4163e90688efe15727ffffaeb734ae475d2bd93 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 24 Jun 2013 12:48:01 -0500 Subject: brew-server: fix reference to removed method Fixes #20744. --- Library/Contributions/cmd/brew-server | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Contributions/cmd/brew-server b/Library/Contributions/cmd/brew-server index 399fe6839..e51817b6a 100755 --- a/Library/Contributions/cmd/brew-server +++ b/Library/Contributions/cmd/brew-server @@ -8,6 +8,7 @@ $:.unshift(ENV['HOMEBREW_LIBRARY_PATH']) require 'global' require 'formula' +require 'cmd/search' require 'rubygems' @@ -109,7 +110,7 @@ end get '/search' do q = params['q'] - results = search_brews(q) + results = Homebrew.search_formulae(q) html_page("Results") do |s| s << <<-HTML -- cgit v1.2.3