website/www: fix Vagrantfile

This commit is contained in:
Mitchell Hashimoto 2014-12-12 00:49:42 -08:00
parent 1f98237386
commit fa7131ff6e
1 changed files with 5 additions and 7 deletions

View File

@ -4,13 +4,11 @@
$script = <<SCRIPT
sudo apt-get -y update
sudo apt-get -y install curl
curl -sSL https://get.rvm.io | bash -s stable
. ~/.bashrc
. ~/.bash_profile
rvm install 2.0.0
rvm --default use 2.0.0
cd /vagrant
bundle
sudo su -l -c 'gpg --keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3' vagrant
sudo su -l -c 'curl -L https://get.rvm.io | bash -s stable --auto-dotfiles' vagrant
sudo su -l -c 'rvm install 2.0.0' vagrant
sudo su -l -c 'rvm --default use 2.0.0' vagrant
sudo su -l -c 'cd /vagrant && bundle install --jobs 2' vagrant
SCRIPT
Vagrant.configure(2) do |config|