From d8583ba6490e43330429289d8cca0ecd87c1806f Mon Sep 17 00:00:00 2001 From: phinze Date: Thu, 4 Apr 2013 14:24:01 -0600 Subject: [PATCH] kill homebrew submodule; call out to system one --- .gitmodules | 3 --- test/test_helper.rb | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) delete mode 100644 .gitmodules diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 75729b3e0..000000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "test/support/homebrew"] - path = test/support/homebrew - url = https://github.com/mxcl/homebrew.git diff --git a/test/test_helper.rb b/test/test_helper.rb index 10e686c82..da7d7c911 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -8,8 +8,8 @@ lib_path = brew_cask_path.join('lib') $:.push(lib_path) -# add vendored homebrew to load path -homebrew_path = brew_cask_path.join('test', 'support', 'homebrew') +# add homebrew to load path +homebrew_path = Pathname(`brew --prefix`.chomp) $:.push(homebrew_path.join('Library', 'Homebrew')) # require homebrew testing env