Install RVM for vagrant user and prevent installation if already installed
This commit is contained in:
parent
ff23fbaec4
commit
355185b4ce
1 changed files with 6 additions and 1 deletions
7
development/Vagrantfile
vendored
7
development/Vagrantfile
vendored
|
@ -54,5 +54,10 @@ Vagrant.configure("2") do |config|
|
||||||
time sudo pacman -Syu --noconfirm libffi git
|
time sudo pacman -Syu --noconfirm libffi git
|
||||||
fi'
|
fi'
|
||||||
end
|
end
|
||||||
config.vm.provision :shell, inline: '\curl -L https://get.rvm.io | bash -s stable'
|
|
||||||
|
config.vm.provision :shell, inline: '
|
||||||
|
if ! [ -d /home/vagrant/.rvm ]; then
|
||||||
|
HOME=/home/vagrant su -p vagrant -c "curl -L https://get.rvm.io | bash -s stable"
|
||||||
|
fi
|
||||||
|
'
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue