diff --git a/plugins/kernel_v2/config/vm.rb b/plugins/kernel_v2/config/vm.rb index 38c570cd1..c650ddc59 100644 --- a/plugins/kernel_v2/config/vm.rb +++ b/plugins/kernel_v2/config/vm.rb @@ -128,7 +128,7 @@ module VagrantPlugins if Vagrant::Util::Platform.windows? # On Windows, Ruby just uses normal '/' for path seps, so # just replace normal Windows style seps with Unix ones. - hostpath = hostpath.to_s.gsub!("\\", "/") + hostpath = hostpath.to_s.gsub("\\", "/") end options ||= {}