Skip to content

Commit

Permalink
Fix incompatible gem versions in DOCKER=centos CI
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
felixbuenemann committed Apr 27, 2019
1 parent 1228a50 commit d0cc2d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis_Dockerfile_centos
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d0cc2d3

Please sign in to comment.