微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

rubygems – 无法安装厨师,宝石版与net-ssh net-ssh-multi net-ssh-gateway冲突

使用rvm和一个空的gemset,我得到这个:
$gem install chef --no-ri --no-rdoc
ERROR:  While executing gem ... (Gem::DependencyError)
    Unable to resolve dependencies: chef requires net-ssh (~> 2.2.2); net-ssh-multi requires net-ssh (>= 2.6.5); net-ssh-gateway requires net-ssh (>= 2.6.5)

我已经尝试通过安装早期版本的net-ssh-gateway和net-ssh-multi来解决它,但是net-ssh-multi版本1.1通过安装1.1.2让我感到困惑.

解决方法

这是因为net-ssh-multi的更新将所需的net-ssh版本提升到> = 2.6.5. Chef团队已经在开发新版本.现在,你可以使用
gem install chef --pre --no-ri --no-rdoc

原文地址:https://www.jb51.cc/ruby/269999.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐