aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Howell2009-10-04 11:03:02 +0100
committerMax Howell2009-10-04 17:49:49 +0100
commite6282f10be6d51ecbaf28569b68ba1052a483378 (patch)
tree75429b5a1b43e6f552281be3c6775967b74d37d1
parente5cd1d4662437f4f70a495cb862de2976d9aa99d (diff)
downloadhomebrew-e6282f10be6d51ecbaf28569b68ba1052a483378.tar.bz2
Use full path to Ruby executable when installing
-rwxr-xr-xbin/brew2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/brew b/bin/brew
index 256b2d5f9..1e359576f 100755
--- a/bin/brew
+++ b/bin/brew
@@ -154,7 +154,7 @@ begin
# to make the formula script the executed script
pid=fork
if pid.nil?
- exec 'ruby', '-I', homebrew_rubylib_path, '-rinstall', f.path, '--', *ARGV.options
+ exec '/usr/bin/ruby', '-I', homebrew_rubylib_path, '-rinstall', f.path, '--', *ARGV.options
else
Process.wait pid
end