mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
utils/gems: update to Bundler 2.4
This commit is contained in:
parent
385cf78efa
commit
fdd18a4b79
@ -10,7 +10,7 @@ require "English"
|
|||||||
module Homebrew
|
module Homebrew
|
||||||
# Keep in sync with the `Gemfile.lock`'s BUNDLED WITH.
|
# Keep in sync with the `Gemfile.lock`'s BUNDLED WITH.
|
||||||
# After updating this, run `brew vendor-gems --update=--bundler`.
|
# After updating this, run `brew vendor-gems --update=--bundler`.
|
||||||
HOMEBREW_BUNDLER_VERSION = "2.3.26"
|
HOMEBREW_BUNDLER_VERSION = "2.4.18"
|
||||||
|
|
||||||
module_function
|
module_function
|
||||||
|
|
||||||
@ -65,6 +65,8 @@ module Homebrew
|
|||||||
require "rubygems"
|
require "rubygems"
|
||||||
raise "RubyGems too old!" if Gem::Version.new(Gem::VERSION) < Gem::Version.new("2.2.0")
|
raise "RubyGems too old!" if Gem::Version.new(Gem::VERSION) < Gem::Version.new("2.2.0")
|
||||||
|
|
||||||
|
ENV["BUNDLER_NO_OLD_RUBYGEMS_WARNING"] = "1"
|
||||||
|
|
||||||
# Match where our bundler gems are.
|
# Match where our bundler gems are.
|
||||||
gem_home = "#{HOMEBREW_LIBRARY_PATH}/vendor/bundle/ruby/#{RbConfig::CONFIG["ruby_version"]}"
|
gem_home = "#{HOMEBREW_LIBRARY_PATH}/vendor/bundle/ruby/#{RbConfig::CONFIG["ruby_version"]}"
|
||||||
Gem.paths = {
|
Gem.paths = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user