root@iTears:/home# chef -v Chef Development Kit Version: 0.4.0 root@iTears:/home# gem install berkshelf Successfully installed berkshelf-3.2.3 1 gem installed root@iTears:/home# vagrant plugin install vagrant-berkshelf Installing the 'vagrant-berkshelf' plugin. This can take a few minutes... Installed the plugin 'vagrant-berkshelf (4.0.3)'! Post install message from the 'vagrant-berkshelf' plugin: The Vagrant Berkshelf plugin requires Berkshelf from the Chef Development Kit. You can download the latest version of the Chef Development Kit from: https://downloads.getchef.com/chef-dk Installing Berkshelf via other methods is not officially supported.
你是用什么方式Chef的?看上去你安装的方式不对导致vagrant-berkshelf没有认出你安装的这个chef
我也碰到这个问题,后来的解决方式是:
vagrant plugin install vagrant-berkshelf --plugin-version 2.0.1 --verbose
安装成功