From d0cc2d32480799d1799cd7743e727acbe39ec356 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Bu=CC=88nemann?= Date: Sat, 27 Apr 2019 03:39:33 +0200 Subject: [PATCH] Fix incompatible gem versions in DOCKER=centos CI * gem update --system tries to use rubygems-update 3.0 which requires ruby >= 2.3.0, so use ~> 2.7 * latest bundler 2.x also requires ruby >= 2.3.0, so use ~> 1.17 --- .travis_Dockerfile_centos | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis_Dockerfile_centos b/.travis_Dockerfile_centos index b6268f679..50a23e98c 100644 --- a/.travis_Dockerfile_centos +++ b/.travis_Dockerfile_centos @@ -17,7 +17,7 @@ RUN yum -y install \ gcc \ gcc-c++ \ make -RUN gem update --system > /dev/null -RUN gem install bundler +RUN gem install --no-document "rubygems-update:~>2.7" && update_rubygems +RUN gem install --no-document "bundler:~>1.17" CMD sh .travis_centos.sh