gpt4 book ai didi

ruby-on-rails - 收到 Vagrant 的这个奇怪错误,想知道是否有人可以伸出援手

转载 作者:太空宇宙 更新时间:2023-11-03 17:19:05 25 4
gpt4 key购买 nike

我正在尝试设置 Vagrant。我正在按照网站上的指南进行操作,目前在指南的配置部分 (http://vagrantup.com/docs/getting-started/provisioning.html) 上遇到了问题该网站,但我收到此错误,如果有任何重要信息,我正在使用 Mac OSX

evan@superduper ~/vagrant_guide $ vagrant up
There was a problem with the configuration of Vagrant. The error message(s)
are printed below:

chef:
* Run list must not be empty.

如果这也有帮助的话,这也是我的 Vagrant 文件代码:

Vagrant::Config.run do |config|
config.vm.box = "lucid32"

# Enable the chef solo provisioner
config.vm.provisioner = :chef_solo

# Grab the cookbooks from the Vagrant files
config.chef.recipe_url = "http://files.vagrantup.com/getting_started/cookbooks.tar.gz"
end

有人知道这是什么原因吗?我该如何解决?

谢谢

J

最佳答案

您需要将此行添加到您的Vagrantfile:

config.chef.add_recipe("vagrant_main")

关于ruby-on-rails - 收到 Vagrant 的这个奇怪错误,想知道是否有人可以伸出援手,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3877926/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com