aboutsummaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2020-05-21 21:05:07 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-05-22 20:32:30 +0900
commit1d889c96562e9619d2cab443da711e82daeb983c (patch)
tree0a6a142360be987ceaff6cbf24a03fd5797ecb66 /libexec
parent93ebf9643dc0913693157e6b4bb391a549a9b8ae (diff)
downloadruby-1d889c96562e9619d2cab443da711e82daeb983c.tar.gz
Sync Bundler PR #3624 with HEAD commits
Diffstat (limited to 'libexec')
-rwxr-xr-xlibexec/bundle3
1 files changed, 3 insertions, 0 deletions
diff --git a/libexec/bundle b/libexec/bundle
index b3b1b691d8..1168e5a361 100755
--- a/libexec/bundle
+++ b/libexec/bundle
@@ -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