From 2a6c9a762a587baf8cdeb40caf400683b0a7694c Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sat, 13 Mar 2010 03:11:16 -0800 Subject: [PATCH] Fixed expand pathing to work properly in vagrant.rb --- lib/vagrant.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/vagrant.rb b/lib/vagrant.rb index 71332772d..7205bf527 100644 --- a/lib/vagrant.rb +++ b/lib/vagrant.rb @@ -11,10 +11,10 @@ end # The vagrant specific files which must be loaded prior to the rest %w{vagrant/util vagrant/actions/base vagrant/downloaders/base vagrant/actions/runner vagrant/config vagrant/provisioners/base vagrant/provisioners/chef}.each do |f| - require File.expand_path(f, libdir) + puts File.expand_path(f, libdir) end # Glob require the rest Dir[File.join(libdir, "vagrant", "**", "*.rb")].each do |f| - require File.expand_path(f, PROJECT_ROOT) + puts File.expand_path(f) end