From 2ca8172fe9f1aba5188fc4ab164b34d5def607c9 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 28 Apr 2015 22:37:27 -0400 Subject: Let the test environment inject its own load path --- Library/Homebrew/cmd/postinstall.rb | 2 +- Library/Homebrew/cmd/test.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Library/Homebrew/cmd') 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} -- cgit v1.2.3