【发布时间】:2016-09-01 07:21:26
【问题描述】:
大家好,我正在尝试运行命令 vagrant up 但它给我一个错误。前天还在上班,从昨天开始一直给我这个错误
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.
现在我用谷歌搜索了它,我得到的是目录中可能有一个空格,是的,这些答案是正确的,在 PATH 变量中的某些路径中有一个空格,但我想要的第一个问题知道了
为什么昨天前几天一直在运行
第二个问题是
我必须更正哪条路径,因为我个人从未安装过我得到的系统配置。以下是我的路径变量中的路径:
C:\ProgramData\Oracle\Java\javapath;
C:\Windows\system32;C:\Windows;
C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;
C:\Program Files\Git\cmd;
C:\Program Files (x86)\Ampps\php;
C:\ProgramData\ComposerSetup\bin;
C:\Program Files (x86)\Skype\Phone\;
D:\Ampps\mysql\bin;D:\Ampps\php;
C:\HashiCorp\Vagrant\bin;
C:\Program Files (x86)\nodejs\;
C:\Users\TBox Solutions\AppData\Local\atom\bin;
C:\Users\TBox Solutions\AppData\Roaming\Composer\vendor\bin;
C:\Users\TBox Solutions\AppData\Local\.meteor\;
C:\adt-bundle-windows-x86_64-20140702\sdk\platform-tools;
C:\adt-bundle-windows-x86_64-20140702\sdk\tools;
C:\Program Files\Java\jdk1.8.0_77\bin;
C:\Users\TBox Solutions\AppData\Local\Spoon\Cmd;
C:\Users\TBox Solutions\AppData\Roaming\npm
【问题讨论】:
-
有人能告诉我为什么我的问题被否决了吗?
-
也许您的问题与配置有关,而不是编程问题?
标签: vagrant homestead vagrant-windows