我正在关注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 berkshelfI 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更多推荐
发布评论