Skip to content

Commit

Permalink
Fix: bundle install fails in ruby 2.7 && bundler < 2
Browse files Browse the repository at this point in the history
  • Loading branch information
khiav223577 committed Jan 2, 2020
1 parent b25f167 commit bab9464
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ matrix:
- gemfile: gemfiles/6.0.gemfile
rvm: 2.2
before_install:
- gem i rubygems-update -v '<3' && update_rubygems
- gem install bundler -v 1.17.3
- if [`ruby -e 'exit(RUBY_VERSION.to_f < 2.7)'`]; then
gem i rubygems-update -v '< 3' && update_rubygems;
gem install bundler -v '< 2';
fi
- gem --version
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
Expand Down

0 comments on commit bab9464

Please sign in to comment.