From 1d108d0f406a3dc8e128a7dc1366d4e9b09c4c72 Mon Sep 17 00:00:00 2001 From: Robert Lord Date: Wed, 27 Jan 2016 15:50:34 -0600 Subject: [PATCH] Update Vagrant to work properly --- Vagrantfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index 186654e..47227f8 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -6,9 +6,9 @@ Vagrant.configure(2) do |config| type: "shell", inline: <<-SHELL sudo apt-get update - sudo apt-get install -yq ruby ruby-dev build-essential nodejs git + sudo apt-get install -yq ruby2.0 ruby2.0-dev pkg-config build-essential nodejs git libxml2-dev libxslt-dev sudo apt-get autoremove -yq - gem install --no-ri --no-rdoc bundler + gem2.0 install --no-ri --no-rdoc bundler SHELL # add the local user git config to the vm @@ -21,12 +21,14 @@ Vagrant.configure(2) do |config| echo "==============================================" echo "Installing app dependencies" cd /vagrant + bundle config build.nokogiri --use-system-libraries bundle install SHELL config.vm.provision "run", type: "shell", privileged: false, + run: "always", inline: <<-SHELL echo "==============================================" echo "Starting up middleman at http://localhost:4567"