From 454ec60a9840ba6ec375a9c3ac98f2decdff956c Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Mon, 24 Feb 2014 21:55:21 -0800 Subject: gearman: use Formula[] --- Library/Formula/gearman.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Formula/gearman.rb b/Library/Formula/gearman.rb index d029c71a9..37a976835 100644 --- a/Library/Formula/gearman.rb +++ b/Library/Formula/gearman.rb @@ -19,7 +19,7 @@ class Gearman < Formula args = ["--prefix=#{prefix}"] args << "--without-mysql" unless build.with? 'mysql' if build.with? 'postgresql' - pg_config = "#{Formula.factory('postgresql').opt_prefix}/bin/pg_config" + pg_config = "#{Formula['postgresql'].opt_prefix}/bin/pg_config" args << "--with-postgresql=#{pg_config}" end system "./configure", *args -- cgit v1.2.3