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
|
||||
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user