首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在vagrant-vmware-workstation安装中找不到gem错误

在vagrant-vmware-workstation安装中找不到gem错误
EN

Stack Overflow用户
提问于 2015-10-10 05:21:28
回答 1查看 512关注 0票数 1

我正在尝试在我的机器上安装vagrant -vmware工作站。但是我得到了以下错误

代码语言:javascript
复制
Could not find gem 'c:/Users/Automation1/Downloads/license.lic (>= 0) x86-mingw32' in any of the gem sources listed in your Gemfile or available on this machine.

我尝试使用版本2.2.0、2.2.1、2.2.2和2.2.3,但总是出现相同的错误

这是完整的安装日志文本

代码语言:javascript
复制
Installing the 'vagrant-vmware-workstation' plugin. This can take a few minutes...
Installed the plugin 'vagrant-vmware-workstation (4.0.1)'!
Installing the 'c:/Users/Automation1/Downloads/license.lic' 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 'c:/Users/Automation1/Downloads/license.lic (>= 0) x86-mingw32' in any of the gem sources listed in your Gemfile or available on this machine.

Warning: this Gemfile contains multiple primary sources. Using `source` more
than once without a block is a security risk, and may result in installing unexpected 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 config disable_multisource true`.Warning: this Gemfile contains multiple primary sources. Using `source` more than once without a block is a security risk, and may
 result in installing unexpected 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 config disable_multisource true`.

有人能给出一个解决方案吗?感谢您的帮助:)

EN

回答 1

Stack Overflow用户

发布于 2015-12-04 19:22:47

你确定你使用的命令是正确的吗?

我在执行以下命令时也遇到了同样的问题

vagrant plugin install vagrant-vmware-workstation path/to/license.lic

但它适用于:

vagrant plugin license vagrant-vmware-workstation path/to/license.lic

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/33047340

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档