From 36c99fe72aa723e3ad07630efcb5bfd45019b419 Mon Sep 17 00:00:00 2001 From: Josh Hagins Date: Tue, 5 Jul 2016 11:32:58 -0400 Subject: [PATCH] Add Homebrew libs to LOAD_PATH in audit_modified_casks (#22603) --- developer/bin/audit_modified_casks | 1 + 1 file changed, 1 insertion(+) diff --git a/developer/bin/audit_modified_casks b/developer/bin/audit_modified_casks index 33cb834878..4b37a2d549 100755 --- a/developer/bin/audit_modified_casks +++ b/developer/bin/audit_modified_casks @@ -10,6 +10,7 @@ require 'pathname' require 'open3' +$LOAD_PATH.unshift(Pathname(`brew --repository`.chomp).realpath.join('Library/Homebrew')) $LOAD_PATH.unshift(Pathname(__FILE__).realpath.join('../../../lib')) require 'vendor/homebrew-fork/global'