summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBundlerbot <bot@bundler.io>2019-02-10 18:27:40 +0000
committerColby Swandale <me@colby.fyi>2019-04-04 21:11:14 +1100
commite8b3821b21ebabcc3e75c437bfed3b3048523233 (patch)
treeb772955e0dd52712ca7c14cfbc84361cf8a297bf
parent57051874877a5efe51c58c914965aa3351125afc (diff)
downloadbundler-e8b3821b21ebabcc3e75c437bfed3b3048523233.tar.gz
Merge #6948
6948: Bump rubygems to 3.0.2 and ruby to 2.6.1 in TravisCI r=deivid-rodriguez a=deivid-rodriguez The problem was that I have some spec failures locally, and they don't seem to be reproduced in TravisCI. My diagnosis was that either my environment is messed up or there's some issues with the latest rubygems + ruby combination. My fix is to use latest rubygems and ruby in Travis, so I can double check whether the problem is just my environment or a real problem. I chose this fix because it's always good practice to test against the latest versions of your dependencies. Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net> (cherry picked from commit 0ca2f4ea781abf697c484df6ba26feeded744854)
-rw-r--r--Rakefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index fcd05652e5..aee7e11780 100644
--- a/Rakefile
+++ b/Rakefile
@@ -79,6 +79,13 @@ namespace :spec do
sh "gem install bundler:1.17.2 --default"
end
+ # Fix incorrect default gem specifications on ruby 2.6.1. Can be removed
+ # when 2.6.2 is released and we start testing against it
+ if RUBY_VERSION == "2.6.1"
+ sh "gem install etc:1.0.1 --default"
+ sh "gem install bundler:1.17.2 --default"
+ end
+
$LOAD_PATH.unshift("./spec")
require "support/rubygems_ext"
Spec::Rubygems::DEPS["codeclimate-test-reporter"] = "~> 0.6.0" if RUBY_VERSION >= "2.2.0"