Merge pull request #7967 from apupier/removeRequirementsOnPathWithoutSpace

Remove requirements on path without space as issue was fixed in Ruby
This commit is contained in:
Chris Roberts 2017-03-06 09:08:06 -08:00 committed by GitHub
commit e1e3df68da
1 changed files with 0 additions and 8 deletions

View File

@ -19,14 +19,6 @@ module VagrantPlugins
sources = env[:plugin_sources]
version = env[:plugin_version]
# If we're on Windows and the user data path has a space in it,
# then things won't work because of a Ruby bug.
if Vagrant::Util::Platform.windows?
if Vagrant.user_data_path.to_s.include?(" ")
raise Vagrant::Errors::PluginInstallSpace
end
end
# Install the gem
plugin_name_label = plugin_name
plugin_name_label += " --version '#{version}'" if version