问题描述
我正在尝试在Mac上执行vagrant plugin install vagrant-vbguest
I'm trying to execute vagrant plugin install vagrant-vbguest
on my Mac
ProductName: Mac OS X
ProductVersion: 10.12.6
BuildVersion: 16G29
但是在那之后我收到一条错误消息
but I have an error message after that
相互冲突的依赖项winrm-fs(= 1.0.1)和winrm-fs(= 0.2.3)
激活的winrm-fs-0.2.3与冲突的依赖项不匹配 (= 1.0.1)
conflicting dependencies winrm-fs (= 1.0.1) and winrm-fs (= 0.2.3)
Activated winrm-fs-0.2.3 which does not match conflicting dependency (= 1.0.1)
冲突的依赖链: winrm-fs(= 0.2.3),已激活0.2.3
Conflicting dependency chains: winrm-fs (= 0.2.3), 0.2.3 activated
与: winrm-fs(= 1.0.1)
versus: winrm-fs (= 1.0.1)
与winrm-fs(= 1.0.1)匹配的宝石: winrm-fs-1.0.1
Gems matching winrm-fs (= 1.0.1): winrm-fs-1.0.1
所以问题是如何使用Bundler解决该问题,即如何以安全的方式安装我的guest插件?其他详细信息
So the question is how to resolve this issue with Bundler of how to just install my guest plugin in a safe manner?Other details
vboxmanage --version
5.1.26r117224
Vagrant 1.9.7
推荐答案
VAGRANT_DISABLE_STRICT_DEPENDENCY_ENFORCEMENT=1 vagrant plugin install vagrant-vbguest
解决了问题.看起来像变通办法,但是对我有用,一切似乎都还可以.
VAGRANT_DISABLE_STRICT_DEPENDENCY_ENFORCEMENT=1 vagrant plugin install vagrant-vbguest
resolved the issue. Looks like workaround, but it worked for me and everything seems ok right now.
这篇关于Bundler如何卸载冲突的依赖项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!