diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-03-14 19:20:17 +0100 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-03-14 19:20:17 +0100 |
commit | 4e8bacacbb1c4bf9b224efdd49972f54c14b9c9c (patch) | |
tree | 2a709763e7aff5feaae77066a8d27a51c7e9d849 | |
parent | 222792c45cdf945368e60bf8c98ecfb0c8a0a4ab (diff) | |
download | bundler-linux_azure.tar.gz |
Move hack to spec:depslinux_azure
Since it's not TravisCI specific.
-rw-r--r-- | Rakefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -51,6 +51,11 @@ namespace :spec do end.join(" ") sh "gem #{gem_install_command}" + # Fix incorrect default etc gem specification file list on ruby 2.6.2. + if RUBY_VERSION == "2.6.2" + sh "gem install etc:1.0.1 --default" + end + # Download and install gems used inside tests $LOAD_PATH.unshift("./spec") require "support/rubygems_ext" @@ -71,11 +76,6 @@ namespace :spec do # Install the gems with a consistent version of RubyGems sh "gem update --system 3.0.3" - # Fix incorrect default etc gem specification file list on ruby 2.6.2. - if RUBY_VERSION == "2.6.2" - sh "gem install etc:1.0.1 --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" |