From 546cd90cea4a1191a2d9ebe7e5a6dfa46e1f2ac1 Mon Sep 17 00:00:00 2001 From: Ricardo Aielo Date: Thu, 8 Aug 2019 15:53:03 -0700 Subject: [PATCH] Removed explicit bundler install since there is no dependency in gemspec --- Vagrantfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index 26d3e80a9..87898ff2e 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -29,7 +29,6 @@ $shell = <<-'CONTENTS' export DEBIAN_FRONTEND=noninteractive MARKER_FILE="/usr/local/etc/vagrant_provision_marker" RUBY_VER_REQ=$(awk '$1 == "s.required_ruby_version" { print $4 }' /vagrant/vagrant.gemspec | tr -d '"') -BUNDLER_VER_REQ=$(awk '/s.add_dependency "bundler"/ { print $4 }' /vagrant/vagrant.gemspec | tr -d '"') # Only provision once if [ -f "${MARKER_FILE}" ]; then @@ -66,8 +65,7 @@ apt-get install -qy git # Upgrade Rubygems su -l -c "rvm ${RUBY_VER} do gem update --system" vagrant -# Install bundler and prepare to run unit tests -su -l -c "gem install bundler -v ${BUNDLER_VER_REQ}" vagrant +# Prepare to run unit tests su -l -c 'cd /vagrant; bundle install' vagrant # Automatically move into the shared folder, but only add the command