1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Sync Bundler PR #3624 with HEAD commits

This commit is contained in:
Hiroshi SHIBATA 2020-05-21 21:05:07 +09:00
parent 93ebf9643d
commit 1d889c9656
Notes: git 2020-05-22 20:33:02 +09:00
13 changed files with 100 additions and 77 deletions

View file

@ -15,6 +15,9 @@ else
require "bundler"
end
# Workaround for non-activated bundler spec due to missing https://github.com/rubygems/rubygems/commit/4e306d7bcdee924b8d80ca9db6125aa59ee4e5a3
gem "bundler", Bundler::VERSION if Gem.rubygems_version < Gem::Version.new("2.6.2")
# Check if an older version of bundler is installed
$LOAD_PATH.each do |path|
next unless path =~ %r{/bundler-0\.(\d+)} && $1.to_i < 9