Add Homebrew libs to LOAD_PATH in audit_modified_casks (#22603)

This commit is contained in:
Josh Hagins
2016-07-05 11:32:58 -04:00
committed by GitHub
parent f65dbffecf
commit 36c99fe72a
+1
View File
@@ -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'