[jbosstools-issues] [JBoss JIRA] (JBDS-3653) User's home folder with spaces cannot be used by vagrant during install

Aurélien Pupier (JIRA) issues at jboss.org
Fri Nov 4 05:10:00 EDT 2016


    [ https://issues.jboss.org/browse/JBDS-3653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13317335#comment-13317335 ] 

Aurélien Pupier commented on JBDS-3653:
---------------------------------------

FYI
The only reference of Ruby with this issue is this bug: https://bugs.ruby-lang.org/issues/7036 which is marked as fixed for several years.
I put a comment on the Vagrant https://github.com/mitchellh/vagrant/issues/4351#issuecomment-258376266 related issue.
Currently the implementation of Vagrant is not even trying to install plugins when it detects space in path: https://github.com/mitchellh/vagrant/blob/9c299a2a357fcf87f356bb9d56e18a037a53d138/plugins/commands/plugin/action/install_gem.rb#L26

I don't know if there are some Vagrant and/or Ruby guys @Red Hat that can help to sort out this issue.

> User's home folder with spaces cannot be used by vagrant during install
> -----------------------------------------------------------------------
>
>                 Key: JBDS-3653
>                 URL: https://issues.jboss.org/browse/JBDS-3653
>             Project: Red Hat JBoss Developer Studio (devstudio)
>          Issue Type: Bug
>          Components: platform-installer
>    Affects Versions: 9.1.0.Beta2
>            Reporter: Denis Golovin
>            Assignee: Denis Golovin
>            Priority: Critical
>              Labels: havoc
>             Fix For: 10.0.0.GA
>
>         Attachments: install(1).log
>
>
> Vagrant complains about 
> {quote}Wed, 02 Mar 2016 18:04:21 GMT-ERROR: cdk - Error: Command failed: C:\WINDOWS\system32\cmd.exe /s /c "vagrant plugin install c:\DeveloperPlatform\cdk\plugins\vagrant-registration-1.0.0.gem"
> The directory where plugins are installed (the Vagrant home directory)
> has a space in it. On Windows, there is a bug in Ruby when compiling
> plugins into directories with spaces. Please move your Vagrant home
> directory to a path without spaces and try again
> {quote}
> When user home directory have spaces in it, because .vagrant.d file path in turn has spaces as well. For instance: 
> {code}C:\Users\User Name\.vagrant.d{code}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the jbosstools-issues mailing list