Remove requirements on path without space as issue was fixed in Ruby

This commit is contained in:
Aurelien Pupier 2016-11-07 09:31:32 +01:00
parent dbbd2d8e36
commit c423619cd7
1 changed files with 0 additions and 8 deletions

View File

@ -19,14 +19,6 @@ module VagrantPlugins
sources = env[:plugin_sources] sources = env[:plugin_sources]
version = env[:plugin_version] 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 # Install the gem
plugin_name_label = plugin_name plugin_name_label = plugin_name
plugin_name_label += " --version '#{version}'" if version plugin_name_label += " --version '#{version}'" if version