You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.
I grabbed and installed Chef-DK on my mac this afternoon, then immediately went to install the knife-windows plugin using the "chef gem" command.
The result:
$ chef gem install knife-windows
Fetching: uuidtools-2.1.4.gem (100%)
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /opt/chefdk/embedded/lib/ruby/gems/2.1.0 directory.
The workaround I used was to change permissions on /op/chefdk to have myself as owner:
sudo chown -R $USER /opt/chefdk
should be a relatively simple fix in the installer when it's dropping things into place. I'm presuming we should be enabled to "gem update" and "gem install".
The text was updated successfully, but these errors were encountered:
I grabbed and installed Chef-DK on my mac this afternoon, then immediately went to install the knife-windows plugin using the "chef gem" command.
The result:
The workaround I used was to change permissions on /op/chefdk to have myself as owner:
should be a relatively simple fix in the installer when it's dropping things into place. I'm presuming we should be enabled to "gem update" and "gem install".
The text was updated successfully, but these errors were encountered: