2016-02-28 139 views
1

我是Vagrant的新手,我的目标是安装变化的Vagrant Vagrant。我按照VVV's GitHub page中提到的步骤操作,但在步骤4中提到的安装vagrant-hostupdater时卡住了。在Vagrant中无法安装vagrant-hostupdater插件VVV

当我尝试安装vagrant-hostupdater插件时,出现以下错误。

Microsoft Windows [Version 6.3.9600] 
(c) 2013 Microsoft Corporation. All rights reserved. 

C:\Users\Daniel>vagrant plugin install vagrant-hostupdater 
Installing the 'vagrant-hostupdater' plugin. This can take a few minutes... 
Bundler, the underlying system Vagrant uses to install plugins, 
reported an error. The error is shown below. These errors are usually 
caused by misconfigured plugin installations or transient network 
issues. The error from Bundler is: 

Could not find gem 'vagrant-hostupdater (>= 0) x86-mingw32' in any of the gem so 
urces listed in your Gemfile or available on this machine. 

Warning: this Gemfile contains multiple primary sources. Using `source` more tha 
n once without a block is a security risk, and may result in installing unexpect 
ed gems. To resolve this warning, use a block to indicate which gems should come 
from the secondary source. To upgrade this warning to an error, run `bundle con 
fig disable_multisource true`. 

我正在8.1的Windows 64位操作系统和我装虚拟盒5.0流浪1.8.1

有没有人遇到上述问题?

我发现了一个question类似于我的,在stackoverflow。在指定的类似问题中提到的answer是否有助于修复我的问题?

回答

12

我试过了,看到了你共享的github页面。 好了,你的情况,你是一个错字即拼写错误: 其流浪汉-hostupdater”,它被称为“无业游民,hostsupdater”包,你缺少一个“小号”在那里。

这里是github上页举办流浪汉,hostsupdater代码: https://github.com/cogitatio/vagrant-hostsupdater

+0

哎呀,我没有注意到这个错误。它的工作非常感谢你。 –

+0

是的,不客气! :) –

+0

OMG我做了同样的事情和相同的错字:)感谢玛丽亚:) – IamCavic