summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-03-14 19:20:17 +0100
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-03-14 19:20:17 +0100
commit4e8bacacbb1c4bf9b224efdd49972f54c14b9c9c (patch)
tree2a709763e7aff5feaae77066a8d27a51c7e9d849
parent222792c45cdf945368e60bf8c98ecfb0c8a0a4ab (diff)
downloadbundler-linux_azure.tar.gz
Move hack to spec:depslinux_azure
Since it's not TravisCI specific.
-rw-r--r--Rakefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Rakefile b/Rakefile
index d7bb417b60..9d4e18b179 100644
--- a/Rakefile
+++ b/Rakefile
@@ -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"