From 3318c4074f0a8a888e42c776c7e8aef6e0fbfa2d Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 20 Apr 2015 20:31:16 -0400 Subject: Simplify setting load path --- Library/brew.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/brew.rb b/Library/brew.rb index 423580756..64006cc81 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' -- cgit v1.2.3