Cookbook的高度依赖关系需要不可用的Ruby版本。如何通过厨师针对Amazon Linux进行规避?

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

[我是在Amazon Linux AMI 2018.03上使用Chef 11.10的非Ruby开发人员,OpsWorks代理v.3451。

我的Route53cookbookrequires fog,其中requires fog-brightbox要求unspecified versiondry-inflector,其most recent versionrequiresRuby 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个回答
1
投票

版本0.1.2不需要特定版本的Ruby。

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

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