diff --git a/lib/vagrant/environment.rb b/lib/vagrant/environment.rb index eaed02cea..11949cb1d 100644 --- a/lib/vagrant/environment.rb +++ b/lib/vagrant/environment.rb @@ -115,7 +115,7 @@ module Vagrant # @return [Pathname] def dotfile_path return nil if !root_path - root_path.join(config.global.vagrant.dotfile_name) + root_path.join(File.expand_path(config.global.vagrant.dotfile_name)) end # Returns the collection of boxes for the environment.