From 28e19d54498bfb3c12d9de4f876f460c67c8d582 Mon Sep 17 00:00:00 2001 From: Mark LaPerriere Date: Thu, 12 Jul 2012 15:25:28 -0300 Subject: [PATCH] Update load_plugins to be more Windows friendly. Uses File::PATH_SEPARATOR instead of hard-coded colon (':'). --- lib/vagrant/environment.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant/environment.rb b/lib/vagrant/environment.rb index fa66702a3..90137cd2f 100644 --- a/lib/vagrant/environment.rb +++ b/lib/vagrant/environment.rb @@ -533,7 +533,7 @@ module Vagrant def load_plugins # Add our private gem path to the gem path and reset the paths # that Rubygems knows about. - ENV["GEM_PATH"] = "#{@gems_path}:#{ENV["GEM_PATH"]}" + ENV["GEM_PATH"] = "#{@gems_path}#{::File::PATH_SEPARATOR}#{ENV["GEM_PATH"]}" ::Gem.clear_paths # Load the plugins