-
Notifications
You must be signed in to change notification settings - Fork 18
The Berkshelf version at "/opt/chefdk/bin/berks" is invalid #57
Comments
Yeah, I am having the same issue on Ubuntu 14.04 after upgrading chefDK and vagrant to the latest. Previously same Vagrant file was working fine $ chef -v $ vagrant -v $ vagrant plugin update $ vagrant up default Please download and install the latest version of the ChefDK from:
and follow the installation instructions. Do not forget to add the ChefDK to |
facing the same issue. |
Actually I guess this is more a berks issue than a vagrant issue. |
While they fix it I found a workaround that at least works for me. Edit this file where you see: As I said this is just a workaround. |
same problem on Windows. Thanks to the workaround given by @microweb10 above. It works after editing the version in /Users/[username]/.vagrant.d/gems/gems/vagrant-berkshelf-5.0.0/lib/vagrant-berkshelf/action/check.rb. |
I am facing this problem with Mac OS X 10.11 $ vagrant up Please download and install the latest version of the ChefDK from:
and follow the installation instructions. Do not forget to add the ChefDK to $ echo $PATH $ vagrant -v $ chef -v $ vagrant plugin list
$ which berks $ vagrant plugin update
Installing Berkshelf via other methods is not officially supported. $ cat ~/.vagrant.d/gems/2.2.5/gems/vagrant-berkshelf-5.1.1/lib/vagrant-berkshelf/action/check.rb BERKS_REQUIREMENT = ">= 4.0" Still I am getting the error. Is there anything I am missing ? |
@mazinmk this is an issue with |
@jeffbyrnes Thank you. The above link as the fix. |
Hello,
i am on Mac OS X 10.11.6 and after following the installation instructions and running
vagrant up
i get the following error:The ChefDK binaries are added to my path
echo $PATH
: /opt/chefdk/bin:/Users/hmk/.chefdk/gem/ruby/2.3.0/bin:/opt/chefdk/embedded/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/chefdk/gitbinvagrant -v
: Vagrant 1.8.5which berks
: /opt/chefdk/bin/berkschef -v
:Chef Development Kit Version: 0.18.26
chef-client version: 12.14.89
delivery version: master (d86679335580be3de22996ef294b20d525889d8d)
berks version: 5.1.0
kitchen version: 1.13.0
I found a similar Issue Description here. I also tried completely reinstalling chefdk, vagrant but nothing helps.
The text was updated successfully, but these errors were encountered: