Error when installing gem

Symptoms or Error Information

There was an error when installing ruby gem acl on the server.


Complete the following troubleshooting steps to resolve this issue:

  1. Resume deployment. If the error persists, complete the following steps.
  2. Connect to server IP through winRM:
    Enter-PsSession –Computername <ip_address> -Credential (Get-Credentials)
  3. Install ruby gems manually:
    Set-Location C:\opscode\chef\embedded\bin
    Start-process C:\opscode\chef\embedded\bin\gem.bat -ArgumentList "install knife-acl -v 0.0.12"

Was this article helpful?