Simplify setting load path

This commit is contained in:
Jack Nagel 2015-04-20 20:31:16 -04:00
parent 11c513efbd
commit 136bc02374

View File

@ -10,7 +10,7 @@ if ARGV == %w{--prefix}
end end
require 'pathname' require 'pathname'
HOMEBREW_LIBRARY_PATH = Pathname.new(__FILE__).realpath.dirname.parent.join("Library", "Homebrew") HOMEBREW_LIBRARY_PATH = Pathname.new(__FILE__).realpath.parent.join("Homebrew")
$:.unshift(HOMEBREW_LIBRARY_PATH.to_s) $:.unshift(HOMEBREW_LIBRARY_PATH.to_s)
require 'global' require 'global'