Skip to content

Commit

Permalink
Ruby Enterprise Edition requires older versions of RubyGems and Bundler.
Browse files Browse the repository at this point in the history
  • Loading branch information
philr committed Dec 23, 2019
1 parent 4e01d06 commit 2a63fc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -2,9 +2,9 @@ language: ruby
dist: trusty
sudo: false
before_install:
- if [[ $TRAVIS_RUBY_VERSION =~ ^(1|2\.[012]|jruby-1)\. ]]; then gem install rubygems-update --version '~> 2.7' --no-document && update_rubygems; else gem update --system; fi
- if [[ $TRAVIS_RUBY_VERSION =~ ^((1|2\.[012]|jruby-1)\.|ree$) ]]; then gem install rubygems-update --version '~> 2.7' --no-document && update_rubygems; else gem update --system; fi
- gem --version
- if [[ $TRAVIS_RUBY_VERSION =~ ^(1|2\.[012]|jruby-1)\. ]]; then gem install bundler --version '~> 1.17'; else gem install bundler; fi
- if [[ $TRAVIS_RUBY_VERSION =~ ^((1|2\.[012]|jruby-1)\.|ree$) ]]; then gem install bundler --version '~> 1.17'; else gem install bundler; fi
- bundle --version
before_script:
- bundle update
Expand Down

0 comments on commit 2a63fc5

Please sign in to comment.