我正在尝试在我的机器上安装vagrant -vmware工作站。但是我得到了以下错误
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,但总是出现相同的错误
这是完整的安装日志文本
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`.有人能给出一个解决方案吗?感谢您的帮助:)
发布于 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
https://stackoverflow.com/questions/33047340
复制相似问题