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:
commit
244882bd75
|
@ -533,7 +533,7 @@ module Vagrant
|
||||||
def load_plugins
|
def load_plugins
|
||||||
# Add our private gem path to the gem path and reset the paths
|
# Add our private gem path to the gem path and reset the paths
|
||||||
# that Rubygems knows about.
|
# 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
|
::Gem.clear_paths
|
||||||
|
|
||||||
# Load the plugins
|
# Load the plugins
|
||||||
|
|
Loading…
Reference in New Issue