From 76491aed4f54269fe734bf89ba75dd668e270d79 Mon Sep 17 00:00:00 2001 From: Andre Arko Date: Sat, 8 Dec 2012 10:15:04 -0800 Subject: [PATCH] rebuild ruby-head on travis, because it's so old --- Rakefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Rakefile b/Rakefile index 15c583ffc08..4e325b7a414 100644 --- a/Rakefile +++ b/Rakefile @@ -135,6 +135,11 @@ begin system("sudo sed -i '/secure_path/d' /etc/sudoers") # Install groff for the ronn gem system("sudo apt-get install groff -y") + # Recompile ruby-head, because the VM version is quite old + if ENV['RUBY_VERSION'] == 'ruby-head' + system("rvm reinstall ruby-head") + system("ruby --version") + end # Install the other gem deps, etc. Rake::Task["spec:deps"].invoke end