diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2016-01-30 18:59:34 -0600 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2016-01-30 18:59:34 -0600 |
commit | a92481ac965fe97a0e539d2022d027807b6265e2 (patch) | |
tree | 1b1eccd4f25a4a561dd62f8940a567d704f1b16f /Rakefile | |
parent | 0f2b22091b07ea1853fec37766592230b006daff (diff) | |
download | bundler-a92481ac965fe97a0e539d2022d027807b6265e2.tar.gz |
[Travis] Use RG 2.5.1seg-gemspec-bump-rdiscount
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 12 |
1 files changed, 3 insertions, 9 deletions
@@ -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" |