Use full path to Ruby executable when installing

This commit is contained in:
Max Howell 2009-10-04 11:03:02 +01:00
parent 2edb971cd8
commit 1974021718

View File

@ -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