From ec30f7ee07e7fb94d6c4b507fdd44adae003e340 Mon Sep 17 00:00:00 2001 From: Carlos Rodrigues Date: Mon, 25 Jul 2016 17:39:30 +0100 Subject: [PATCH] Ensure the dev vagrant VM is ready to run tests --- Vagrantfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Vagrantfile b/Vagrantfile index 2b913d670..2bc61a5a8 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -59,6 +59,10 @@ su -l -c 'ruby --version' vagrant # Install Git apt-get install -y git +# Prepare to run unit tests +su -l vagrant -c 'gem install bundler -v 1.12.5' +su -l vagrant -c 'cd /vagrant; bundle install' + # Automatically move into the shared folder, but only add the command # if it's not already there. grep -q 'cd /vagrant' /home/vagrant/.bash_profile || echo 'cd /vagrant' >> /home/vagrant/.bash_profile