Cookbook的高度依赖关系需要不可用的ruby版本。对于Amazon Linux,如何通过Chef规避?

问题描述 投票:0回答:1

非红宝石开发人员; Amazon Linux AMI 2018.03上的Chef 11.10,OpsWorks代理v.3451

我的Route53cookbookrequires fog,其中requires fog-brightbox要求unspecified versiondry-inflector,其most recent version requires红宝石 version 2.4在其gemspec中。

[fog是通过chef_gem安装的,该separate version of ruby使用仅保留给Chef客户端使用的disable the Opsworks Agent,并且不建议更新此ruby版本,因为它可能0.1.2 of the dry-inflector gem

解决此问题的唯一方法是分叉并托管链中的每个依赖项,然后强制使用较早版本的深度依赖项?

ruby chef aws-opsworks cookbook
1个回答
0
投票

版本0.1.2不需要特定版本的红宝石。

请尽快在您的计算机上安装具有该特定版本的gem。

© www.soinside.com 2019 - 2024. All rights reserved.