Vagrant Provision AWS Issue(Vagrant Provision AWS Issue)

编程入门 行业动态 更新时间:2024-10-23 22:24:21
Vagrant Provision AWS Issue(Vagrant Provision AWS Issue)

我正在关注Rails App Cookbook ,我正面临着第6步的问题,涉及配置AWS实例。 我收到以下错误作为输出。

如指南中所述,在观察配置失败后,我执行了vagrant up --provider=aws并收到以下错误 。

以下是依赖文件 , 内核gem文件和berks文件的输出,其中观察到错误。

在检查错误和berks文件时,我尝试将第11行修改为version = "3.2.0" ,但这没有任何区别,因为我可以看到相同的错误 。

这是Vagrantfile的输出。

我进一步调查,发现以下问题报告了Berkshelf Github页面。 我尝试了建议的解决方案 - 通过应用以下命令确保Chef-DK目录位于$ PATH的前面$ PATH=$HOME/.chefdk/gem/ruby/2.1.0/bin:/opt/chefdk/bin:$PATH

我在我的系统中观察到以下输出 。

有人可以建议可能是什么问题吗?

I am following the Rails App Cookbook and am facing issue with step 6 which involves provisioning an AWS instance. I received the following errors as output.

As explained in the guide, upon observing the provisioning failure, I executed vagrant up --provider=aws and received the following errors.

Here are the outputs of the dependency file, kernel gem file and the berks file where the errors are observed.

Upon inspecting the errors and the berks file, I tried modifying line 11 to version = "3.2.0", but that didn't make any difference as I can see the same errors.

Here is the output of the Vagrantfile.

I investigated further and found the following issue being reported Berkshelf Github page. I tried the solution suggested - ensure that the Chef-DK directories are at the front of my $PATH by applying the following command $ PATH=$HOME/.chefdk/gem/ruby/2.1.0/bin:/opt/chefdk/bin:$PATH

I observed the following output at my system.

Could someone please suggest what could be the problem?

最满意答案

我找到了问题的解决方案。 我正在使用vagrant-berkshelf插件。 正确使用的插件是berkshelf 。 运行以下命令后问题已得到纠正:

vagrant plugin uninstall vagrant-berkshelf vagrant plugin install berkshelf

I found the solution to the problem. I was using the vagrant-berkshelf plugin. The correct plugin to be used is berkshelf alone. The issue was rectified after running the following commands:

vagrant plugin uninstall vagrant-berkshelf vagrant plugin install berkshelf

更多推荐

本文发布于:2023-08-07 17:13:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1465105.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Provision   Vagrant   Issue   AWS

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!