2016-02-28 101 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