Fixed expand pathing to work properly in vagrant.rb

This commit is contained in:
Mitchell Hashimoto 2010-03-13 03:11:16 -08:00
parent 9da68bb129
commit 2a6c9a762a
1 changed files with 2 additions and 2 deletions

View File

@ -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