standalone/init: don't pollute environment on Ruby 3 startup

This commit is contained in:
Bo Anderson 2023-11-17 02:17:13 +00:00
parent 25d1f1064a
commit 585f5cdeb3
No known key found for this signature in database
GPG Key ID: 3DB94E204E137D65

View File

@ -30,7 +30,7 @@ Homebrew.setup_gem_environment!(setup_path: false)
# Install gems for Rubies we don't vendor for.
if unsupported_ruby && !ENV["HOMEBREW_SKIP_INITIAL_GEM_INSTALL"]
Homebrew.install_bundler_gems!
Homebrew.install_bundler_gems!(setup_path: false)
ENV["HOMEBREW_SKIP_INITIAL_GEM_INSTALL"] = "1"
end