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
This commit is contained in:
Daniel King 2018-01-31 20:52:58 +00:00 committed by Eugen Rochko
parent e14c20582f
commit 2cff744cdf

2
Vagrantfile vendored
View file

@ -48,7 +48,7 @@ curl -sSL https://raw.githubusercontent.com/rvm/rvm/stable/binscripts/rvm-instal
source /home/vagrant/.rvm/scripts/rvm source /home/vagrant/.rvm/scripts/rvm
# Install Ruby # Install Ruby
rvm install ruby-$RUBY_VERSION rvm reinstall ruby-$RUBY_VERSION --disable-binary
# Configure database # Configure database
sudo -u postgres createuser -U postgres vagrant -s sudo -u postgres createuser -U postgres vagrant -s