Merge pull request #1161 from hashicorp/b-website-vagrantfile

website/Vagrantfile works again.
This commit is contained in:
James Phillips 2015-08-13 18:26:22 -07:00
commit 58fd18b477
1 changed files with 6 additions and 4 deletions

10
website/Vagrantfile vendored
View File

@ -6,14 +6,16 @@ VAGRANTFILE_API_VERSION = "2"
$script = <<SCRIPT $script = <<SCRIPT
sudo apt-get -y update sudo apt-get -y update
sudo apt-get -y install curl sudo apt-get -y install curl git
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
curl -sSL https://get.rvm.io | bash -s stable curl -sSL https://get.rvm.io | bash -s stable
. ~/.bashrc . ~/.bashrc
. ~/.bash_profile . ~/.bash_profile
rvm install 2.0.0 rvm install 2.2.2
rvm --default use 2.0.0 rvm --default use 2.2.2
cd /vagrant cd /vagrant
bundle gem install bundler
bundle update
SCRIPT SCRIPT
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|