From ae587a84682d145711568c985315553150c3a482 Mon Sep 17 00:00:00 2001 From: Joe Bartlett Date: Thu, 27 Apr 2017 21:24:08 -0500 Subject: [PATCH] Fixes Error Message "Message: LoadError: cannot load such file -- ./lib/drupalvm/vagrant" when running vagrant up or destroy. In this particular instance, the error arose when using a build similar to that described in the [Composer Dependency](http://docs.drupalvm.com/en/latest/deployment/composer-dependency) documentation. --- Vagrantfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vagrantfile b/Vagrantfile index 1d6de8a0c..4b1916a79 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -1,7 +1,7 @@ # -*- mode: ruby -*- # vi: set ft=ruby : -require './lib/drupalvm/vagrant' +require_relative 'lib/drupalvm/vagrant' # Absolute paths on the host machine. host_drupalvm_dir = File.dirname(File.expand_path(__FILE__))