aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorJack Nagel2015-04-28 22:37:27 -0400
committerJack Nagel2015-04-29 19:15:11 -0400
commit2ca8172fe9f1aba5188fc4ab164b34d5def607c9 (patch)
treea4baa9bee13808e1b18b41fe0956b804e2bd24dd /Library/Homebrew/cmd
parent80403db9a18159ed72c5a195f937d836a62c47e5 (diff)
downloadbrew-2ca8172fe9f1aba5188fc4ab164b34d5def607c9.tar.bz2
Let the test environment inject its own load path
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/postinstall.rb2
-rw-r--r--Library/Homebrew/cmd/test.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/postinstall.rb b/Library/Homebrew/cmd/postinstall.rb
index b92eb40df..900980355 100644
--- a/Library/Homebrew/cmd/postinstall.rb
+++ b/Library/Homebrew/cmd/postinstall.rb
@@ -9,7 +9,7 @@ module Homebrew
args = %W[
nice #{RUBY_PATH}
-W0
- -I #{HOMEBREW_LIBRARY_PATH}
+ -I #{HOMEBREW_LOAD_PATH}
--
#{HOMEBREW_LIBRARY_PATH}/postinstall.rb
#{formula.path}
diff --git a/Library/Homebrew/cmd/test.rb b/Library/Homebrew/cmd/test.rb
index 17ad7c220..7430f6983 100644
--- a/Library/Homebrew/cmd/test.rb
+++ b/Library/Homebrew/cmd/test.rb
@@ -29,7 +29,7 @@ module Homebrew
args = %W[
#{RUBY_PATH}
-W0
- -I #{HOMEBREW_LIBRARY_PATH}
+ -I #{HOMEBREW_LOAD_PATH}
--
#{HOMEBREW_LIBRARY_PATH}/test.rb
#{f.path}