1
0
Fork 0
mirror of https://github.com/rest-client/rest-client.git synced 2022-11-09 13:49:40 -05:00

Fix rubygems update for rubies < 2.3.

https://github.com/rubygems/rubygems/issues/2534
This commit is contained in:
Andy Brody 2019-08-21 16:30:59 -04:00
parent 66b586e83a
commit ea0c6f6754

View file

@ -29,7 +29,9 @@ branches:
- "readme-edits"
before_install:
- gem update --system
# Install rubygems < 3.0 so that we can support ruby < 2.3
# https://github.com/rubygems/rubygems/issues/2534
- gem install rubygems-update -v '<3' && update_rubygems
# bundler installation needed for jruby-head
# https://github.com/travis-ci/travis-ci/issues/5861
- gem install bundler