diff --git a/Library/brew.rb b/Library/brew.rb index 4235807564..64006cc813 100755 --- a/Library/brew.rb +++ b/Library/brew.rb @@ -10,7 +10,7 @@ if ARGV == %w{--prefix} end 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) require 'global'