aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula_installer.rb
diff options
context:
space:
mode:
authorMike McQuaid2013-03-10 17:02:06 +0000
committerMike McQuaid2013-03-11 18:26:25 +0000
commitd39280bdf7aca09ea7c6d9acf927bd95b6d1e499 (patch)
tree709c06b91052d0cbb0180fbb2eb5c874c50e957a /Library/Homebrew/formula_installer.rb
parentcac86a4f0b0588aea6f0dd4c3daff247aeead3ca (diff)
downloadbrew-d39280bdf7aca09ea7c6d9acf927bd95b6d1e499.tar.bz2
Add current Ruby globals.
Allows access to the Ruby path. Needed for Linux porting.
Diffstat (limited to 'Library/Homebrew/formula_installer.rb')
-rw-r--r--Library/Homebrew/formula_installer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb
index 0a1eba69e..a84502ed8 100644
--- a/Library/Homebrew/formula_installer.rb
+++ b/Library/Homebrew/formula_installer.rb
@@ -285,7 +285,7 @@ class FormulaInstaller
begin
read.close
exec '/usr/bin/nice',
- '/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby',
+ RUBY_PATH,
'-W0',
'-I', Pathname.new(__FILE__).dirname,
'-rbuild',