Use full path to Ruby executable when installing
This commit is contained in:
parent
2edb971cd8
commit
1974021718
2
bin/brew
2
bin/brew
@ -154,7 +154,7 @@ begin
|
|||||||
# to make the formula script the executed script
|
# to make the formula script the executed script
|
||||||
pid=fork
|
pid=fork
|
||||||
if pid.nil?
|
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
|
else
|
||||||
Process.wait pid
|
Process.wait pid
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user