From 2cff744cdf1dad10f81ebd2e35ad038927ca3651 Mon Sep 17 00:00:00 2001
From: Daniel King <northerner@users.noreply.github.com>
Date: Wed, 31 Jan 2018 20:52:58 +0000
Subject: [PATCH] fix ruby 2.5 rvm install in vagrant (#6396)

RVM has a known issue with installing Ruby 2.5 on the version of Ubuntu
the Vagrant box is using: https://github.com/rvm/rvm/issues/4291

This bug was preventing any gem installs in the vagrant box
---
 Vagrantfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Vagrantfile b/Vagrantfile
index 0c21bed68c..bbe3b7f3b1 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -48,7 +48,7 @@ curl -sSL https://raw.githubusercontent.com/rvm/rvm/stable/binscripts/rvm-instal
 source /home/vagrant/.rvm/scripts/rvm
 
 # Install Ruby
-rvm install ruby-$RUBY_VERSION
+rvm reinstall ruby-$RUBY_VERSION --disable-binary
 
 # Configure database
 sudo -u postgres createuser -U postgres vagrant -s
-- 
GitLab