summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2016-01-30 18:59:34 -0600
committerSamuel Giddins <segiddins@segiddins.me>2016-01-30 18:59:34 -0600
commita92481ac965fe97a0e539d2022d027807b6265e2 (patch)
tree1b1eccd4f25a4a561dd62f8940a567d704f1b16f /Rakefile
parent0f2b22091b07ea1853fec37766592230b006daff (diff)
downloadbundler-a92481ac965fe97a0e539d2022d027807b6265e2.tar.gz
[Travis] Use RG 2.5.1seg-gemspec-bump-rdiscount
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/Rakefile b/Rakefile
index 403cf262e1..97ec438fe5 100644
--- a/Rakefile
+++ b/Rakefile
@@ -62,15 +62,9 @@ namespace :spec do
sh "sudo apt-get install groff-base -y"
# Install graphviz so that the viz specs can run
sh "sudo apt-get install graphviz -y 2>&1 | tail -n 2"
- if RUBY_VERSION < "1.9"
- # Downgrade Rubygems on 1.8 so Ronn can be required
- # https://github.com/rubygems/rubygems/issues/784
- sh "gem update --system 2.1.11"
- else
- # Downgrade Rubygems so RSpec 3 can be installed
- # https://github.com/rubygems/rubygems/issues/813
- sh "gem update --system 2.2.0"
- end
+
+ # Install the gems with a consistent version of RubyGems
+ sh "gem update --system 2.5.1"
$LOAD_PATH.unshift("./spec")
require "support/rubygems_ext"