Update load_plugins to be more Windows friendly. Uses File::PATH_SEPARATOR instead of hard-coded colon (':').
This commit is contained in:
parent
c634cbedcc
commit
28e19d5449
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue