Require the files, not puts them... its late.

This commit is contained in:
Mitchell Hashimoto 2010-03-13 03:12:08 -08:00
parent 2a6c9a762a
commit 5598a260c2
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 # The vagrant specific files which must be loaded prior to the rest
%w{vagrant/util vagrant/actions/base vagrant/downloaders/base vagrant/actions/runner %w{vagrant/util vagrant/actions/base vagrant/downloaders/base vagrant/actions/runner
vagrant/config vagrant/provisioners/base vagrant/provisioners/chef}.each do |f| vagrant/config vagrant/provisioners/base vagrant/provisioners/chef}.each do |f|
puts File.expand_path(f, libdir) require File.expand_path(f, libdir)
end end
# Glob require the rest # Glob require the rest
Dir[File.join(libdir, "vagrant", "**", "*.rb")].each do |f| Dir[File.join(libdir, "vagrant", "**", "*.rb")].each do |f|
puts File.expand_path(f) require File.expand_path(f)
end end