Install Bundler <2.

Newer versions require the systems RubyGems to be updated.
This commit is contained in:
Mike McQuaid 2019-01-03 16:43:53 +00:00
parent 8144667a71
commit 5b7404a0d2
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70
2 changed files with 2 additions and 2 deletions

View File

@ -86,7 +86,7 @@ module Homebrew
ENV["GIT_#{role}_DATE"] = "Sun Jan 22 19:59:13 2017 +0000" ENV["GIT_#{role}_DATE"] = "Sun Jan 22 19:59:13 2017 +0000"
end end
Homebrew.install_gem_setup_path! "bundler" Homebrew.install_gem_setup_path! "bundler", "<2"
system "bundle", "install" unless quiet_system("bundle", "check") system "bundle", "install" unless quiet_system("bundle", "check")
parallel = true parallel = true

View File

@ -17,7 +17,7 @@ module Homebrew
switch :debug switch :debug
end.parse end.parse
Homebrew.install_gem_setup_path! "bundler" Homebrew.install_gem_setup_path! "bundler", "<2"
ohai "cd #{HOMEBREW_LIBRARY_PATH}/vendor" ohai "cd #{HOMEBREW_LIBRARY_PATH}/vendor"
(HOMEBREW_LIBRARY_PATH/"vendor").cd do (HOMEBREW_LIBRARY_PATH/"vendor").cd do