Merge pull request #1019 from marklap/master

Update environment::load_plugins to fix broken modification of Gem.path on Windows
This commit is contained in:
Mitchell Hashimoto 2012-07-12 12:41:19 -07:00
commit 244882bd75
1 changed files with 1 additions and 1 deletions

View File

@ -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