lib/vagrant/environment.rb in vagrant-1.0.4 vs lib/vagrant/environment.rb in vagrant-1.0.5
- old
+ new
@@ -505,10 +505,10 @@
# Loads the Vagrant plugins by properly setting up RubyGems so that
# our private gem repository is on the path.
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
Plugin.load!
end