【问题标题】:Unable to install vagrant-hostupdater plugin during Vagrant up with VVV在 Vagrant 使用 VVV 期间无法安装 vagrant-hostupdater 插件
【发布时间】:2016-02-28 06:25:07
【问题描述】:

我是 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.0Vagrant 1.8.1

有人遇到过上述问题吗?

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

【问题讨论】:

    标签: vagrant vvv-wordpress


    【解决方案1】:

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

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

    【讨论】:

    • 糟糕,我没有注意到错字。它奏效了,非常感谢。
    • 天啊,我做了同样的事情和同样的错字:) 谢谢玛丽亚 :)
    • 完全有同样的问题。它是主机更新程序!很高兴解决了!非常感谢您的回答!
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多