From 0deb05403b2c7a0dcbb8b76e4711666e2cd25696 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Tue, 25 Feb 2014 22:07:10 -0800 Subject: mongodb: use Formula[] --- Library/Formula/mongodb.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Formula/mongodb.rb b/Library/Formula/mongodb.rb index 202d06b95..563dd128e 100644 --- a/Library/Formula/mongodb.rb +++ b/Library/Formula/mongodb.rb @@ -67,7 +67,7 @@ class Mongodb < Formula if build.with? 'openssl' args << '--ssl' - args << "--extrapath=#{Formula.factory('openssl').opt_prefix}" + args << "--extrapath=#{Formula["openssl"].opt_prefix}" end scons 'install', *args -- cgit v1.2.3