3

我是 Vagrant 的新手,我的目标是安装 Varying Vagrant Vagrants。我按照VVV 的 GitHub 页面中提到的步骤操作,但在安装步骤 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.0Vagrant 1.8.1

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

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

4

1 回答 1

14

我试过了,看到了你分享的github页面。好吧,在您的情况下,您正在打错字,即拼写错误:它不是vagrant-hostupdater ”,它被称为“ vagrant-hostsupdater ”包,您在其中缺少一个“ s ”。

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

于 2016-03-04T05:11:41.123 回答