diff --git a/lib/vagrant/environment.rb b/lib/vagrant/environment.rb index d1d369125..d302a986e 100644 --- a/lib/vagrant/environment.rb +++ b/lib/vagrant/environment.rb @@ -525,7 +525,7 @@ module Vagrant # upgrade it. Otherwise, we just mark that its the current version. version_file = @home_path.join("setup_version") if version_file.file? - version = version_file.read + version = version_file.read.chomp if version > CURRENT_SETUP_VERSION raise Errors::HomeDirectoryLaterVersion end