language: ruby
script: bundle exec appraisal rake
rvm:
  - 2.2.10
  - 2.3.8
  - 2.4.5
  - 2.5.3
  - 2.6.1
  - jruby-9.1.16.0
before_install:
  - gem install bundler --version "~> 1.17"
before_script:
  - bundle exec appraisal install
env:
  - DATABASE=postgres
  - DATABASE=mysql
  - DATABASE=sqlite

language: ruby
script: bundle exec appraisal rake
rvm:
  - 2.2.10
  - 2.3.8
  - 2.4.5
  - 2.5.3
  - 2.6.1
  - jruby-9.1.16.0
before_install:
  - gem uninstall bundler --all --ignore-dependencies --executables
  - gem install bundler --version "~> 1.17"
before_script:
  - bundle exec appraisal install
env:
  - DATABASE=postgres
  - DATABASE=mysql
  - DATABASE=sqlite

Remove unrequested versions of bundler.
Remove unrequested versions of bundler.

It seems 2.0.1 is present already, and JRuby doesn't like that.
