在使用VVV进行Vagrant时无法安装vagrant-hostupdater插件

时间:2016-02-28 06:25:08

标签: vagrant vvv-wordpress

我是Vagrant的新手,我的目标是安装Varying Vagrant Vagrants。我正在按照VVV's GitHub page中提到的步骤进行操作,但在安装步骤4中提到的vagrant-hostupdater时,我感到困惑。

当我尝试安装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`.

我正在运行 Windows 8.1 64位操作系统,我安装了 Virtual Box 5.0 Vagrant 1.8.1

有没有人遇到过上述问题?

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

1 个答案:

答案 0 :(得分:13)

我试过了,看过你分享过的github页面。 好吧,在你的情况下,你正在拼写错误,即拼写错误: 它的' vagrant-hostupdater ',它被称为' vagrant-hostsupdater '包,你错过了' s '在那里。

这是托管vagrant-hostsupdater代码的 github 页面: https://github.com/cogitatio/vagrant-hostsupdater