Skip to content
This repository has been archived by the owner on Aug 19, 2020. It is now read-only.

Commit

Permalink
Força versão antiga do rvm para permitir uso do bundler em versões an…
Browse files Browse the repository at this point in the history
…teriores

Solução sugerida em:
travis-ci/travis-ci#8717 (comment)
  • Loading branch information
fernand-o committed Aug 13, 2019
1 parent 25f2608 commit 069019a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@ before_install:
# Rubygems > 3.0.0 no longer supported rubies < 2.3
- gem install "rubygems-update:<3.0.0" --no-document && update_rubygems
# Bundler 2.0 is not supported by Rails < 5
- "find /home/travis/.rvm/rubies -wholename '*default/bundler-*.gemspec' -delete"
- gem list -i bundler -v '>= 2.0.0' && rvm @global do gem uninstall bundler -x || true
- rvm implode --force
- \curl -sSL https://get.rvm.io | bash -s 1.27.0
- rvm reload
- rvm install 2.2.3
- gem uninstall -i /home/travis/.rvm/gems/ruby-2.2.3 bundler -x
- gem install bundler -v '~> 1.17'
dist: trusty
before_script:
Expand Down

0 comments on commit 069019a

Please sign in to comment.