diff --git a/test/vagrant-spec/scripts/ubuntu-install-vagrant.sh b/test/vagrant-spec/scripts/ubuntu-install-vagrant.sh index 4804e15bb..53300c675 100755 --- a/test/vagrant-spec/scripts/ubuntu-install-vagrant.sh +++ b/test/vagrant-spec/scripts/ubuntu-install-vagrant.sh @@ -9,8 +9,10 @@ go version # Install Ruby curl -sSL https://rvm.io/pkuczynski.asc | sudo gpg --import - -curl -sSL https://get.rvm.io | bash -s stable --ruby +curl -sSL https://get.rvm.io | bash -s stable source /usr/local/rvm/scripts/rvm +rvm install ruby-2.7 +rvm --default use ruby-2.7 pushd /vagrant