Skip to content

Commit 18df185

Browse files
committed
Update travis config to deal with rubygems not supporting ruby < 2.3 any longer.
See ruby/rubygems#2534.
1 parent ab2aa52 commit 18df185

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
language: ruby
22
bundler_args: --without debug
33
script: "bundle exec rspec spec"
4-
before_install: "gem update --system"
4+
before_install:
5+
- 'gem update --system --conservative || (gem i "rubygems-update:~>2.7" --no-document && update_rubygems)'
6+
- 'gem update bundler --conservative'
57
env:
68
- CI=true
79
rvm:

0 commit comments

Comments
 (0)