Skip to content

Commit

Permalink
Install rubygems-update < v3
Browse files Browse the repository at this point in the history
Since RubyGems 3.0.0 is only installable on Ruby >= 2.3, install a prior version to maintain compatibility.

See rubygems/rubygems#2534
  • Loading branch information
christopherstyles committed Feb 26, 2019
1 parent 2755731 commit 65cdcef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT

before_install:
- gem update --system
- gem install bundler
- gem install bundler -v '< 2'

before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ source 'https://rubygems.org'

gemspec

gem 'bundler', '~> 1.6'
gem 'bundler', '>= 1.7', '<= 2.0.1'
gem 'faker', '~> 1.6'
gem 'pry'
gem 'rake', '< 11.0'
Expand Down

0 comments on commit 65cdcef

Please sign in to comment.