-
Notifications
You must be signed in to change notification settings - Fork 170
berks not working on OS X after upgrading to 0.10.0-1 #657
Comments
Do you happen to have a config file under |
nope, but a couple of folders: drwxr-xr-x 6 phil staff 204B 11 Mai 2015 ./
drwxr-xr-x+ 58 phil staff 1,9K 27 Jan 21:31 ../
drwxr-xr-x 3 phil staff 102B 24 Feb 2015 .cache/
drwxr-xr-x 97 phil staff 3,2K 27 Jan 20:31 cookbooks/
drwxr-xr-x 3 phil staff 102B 11 Mai 2015 knife-solo/
drwxr-xr-x 3 phil staff 102B 17 Feb 2015 vagrant-berkshelf/ |
same here... |
Ok, after taking a closer look at the stack trace, it appears that Berkshelf via Ridley via buff-config doesn't like your knife configuration file. https://github.com/berkshelf/ridley/blob/v4.3.2/lib/ridley/chef/config.rb#L12-L31 Based on the error it seems to be finding a reference to the Chef class in your config. |
@pkyeck can you confirm this hypothesis? |
yes, that was the culprit. commenting that out fixes the problem and everything is working again. thanks for the support. |
Probably worth filing a bug with berks about making this error case more clear. But I'm closing here since that's not really relevant to ChefDK |
I followed these steps to uninstall v0.4.0 + also removed the
~/.chefdk
folder.But after installing the v0.10.0-1 I get the following error when trying to
berks --version
:@mgdevstack also mentions the same error in #597.
A bit frustrated that there is not a "safe" way of updating the chefdk :(
The text was updated successfully, but these errors were encountered: