homebrew_bootsnap: use utils/gems.
This is more robust e.g. if we don't have a `bundler` already installed.
This commit is contained in:
parent
3b8fa5a7af
commit
4355f7cf25
@ -14,9 +14,8 @@ if !ENV["HOMEBREW_NO_BOOTSNAP"] &&
|
||||
rescue LoadError
|
||||
raise if ENV["HOMEBREW_BOOTSNAP_RETRY"]
|
||||
|
||||
Dir.chdir(HOMEBREW_LIBRARY_PATH) do
|
||||
system "bundle", "install", "--standalone"
|
||||
end
|
||||
require "utils/gems"
|
||||
Homebrew.install_bundler_gems!
|
||||
|
||||
ENV["HOMEBREW_BOOTSNAP_RETRY"] = "1"
|
||||
exec ENV["HOMEBREW_BREW_FILE"], *ARGV
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user