Ussuri and before: Pin bundler in beaker tests
It seems we forgot adding pin only in beaker tests and installation of
bundler has been failing in Ubuntu Bionic because the version selected
requires newer version of ruby.
ERROR: Error installing bundler:
...
bundler requires Ruby version >= 2.6.0. The current ruby version
is 2.5.0.
Change-Id: I0a894847154034ac8dec625244a190987fabd12b
(cherry picked from commit 81ba056975)
This commit is contained in:
@@ -54,6 +54,8 @@
|
||||
cmd = 'gem install bundler --no-document --verbose --no-user-install --bindir=${GEM_BIN_DIR}'
|
||||
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.3.0') then
|
||||
cmd += ' -v 1.17.3'
|
||||
else
|
||||
cmd += ' -v 2.2.11'
|
||||
end
|
||||
system(cmd)
|
||||
EOF
|
||||
|
||||
Reference in New Issue
Block a user