about summary refs log tree commit diff
path: root/Vagrantfile
diff options
context:
space:
mode:
authorDaniel King <northerner@users.noreply.github.com>2018-01-31 20:52:58 +0000
committerEugen Rochko <eugen@zeonfederated.com>2018-01-31 21:52:58 +0100
commit2cff744cdf1dad10f81ebd2e35ad038927ca3651 (patch)
treea2646ee1b4c5071750249a57cf08f8638d297417 /Vagrantfile
parente14c20582f9f455ade989307016e6726cb8ff959 (diff)
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
Diffstat (limited to 'Vagrantfile')
-rw-r--r--Vagrantfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Vagrantfile b/Vagrantfile
index 0c21bed68..bbe3b7f3b 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