From c8821b425d85774d8cfc3551b68105f4e812df05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Wed, 12 Feb 2020 18:21:44 +0100 Subject: [PATCH 1/2] Run tests against latest versions of supported rubies And fix failures. --- lib/appraisal/command.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/appraisal/command.rb b/lib/appraisal/command.rb index 5ba7f794..26619e50 100644 --- a/lib/appraisal/command.rb +++ b/lib/appraisal/command.rb @@ -41,9 +41,9 @@ def with_clean_env end def ensure_bundler_is_available - unless system %(gem list -q "^bundler$" | grep -q bundler) + version = Utils.bundler_version + unless system %(gem list -i bundler -v #{version}) puts ">> Reinstall Bundler into #{ENV["GEM_HOME"]}" - version = Utils.bundler_version unless system "gem install bundler --version #{version}" puts From d00e1ffcac5bc0e4562ba8722cef44e27dc40334 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Sun, 16 Feb 2020 20:05:02 +0100 Subject: [PATCH 2/2] Use latest bundler in CI --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4a43a987..04fca451 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,5 @@ --- -before_install: gem install bundler:1.17.3 +before_install: gem install bundler:2.1.4 rvm: - 2.3