Pin bundler to 2.2.11

... as we did for p-o-i[1] and spec_helper[2].

[1] 4d2d86e0df434ee25a508aceb1ea209a0c64f80b
[2] a75cf9b6b18134cd6b1285740e2941bb228e053b

Change-Id: I31913176272c1da8260980fcb03deeb0f6a154ab
This commit is contained in:
Takashi Kajinami 2022-02-02 22:03:19 +09:00
parent 7bbe21dfba
commit c74732c3b8
1 changed files with 1 additions and 3 deletions

View File

@ -10,9 +10,7 @@ prepare_environment() {
export GEM_BIN_DIR=$GEM_HOME/bin
ruby <<EOF
cmd = 'gem install bundler --no-document --verbose --bindir=${GEM_BIN_DIR}'
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.3.0') then
cmd += ' -v 1.17.3'
end
cmd += ' -v 2.2.11'
system(cmd)
EOF