From 197402171842b3f6c3aab74f7b06abf6246f4cde Mon Sep 17 00:00:00 2001 From: Max Howell Date: Sun, 4 Oct 2009 11:03:02 +0100 Subject: [PATCH] Use full path to Ruby executable when installing --- bin/brew | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/brew b/bin/brew index 256b2d5f90..1e359576f2 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