Merge pull request #16228 from Bo98/setup_path-ruby3-fix
standalone/init: don't pollute environment on Ruby 3 startup
This commit is contained in:
commit
efc71abf97
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user