File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ $scriptDir = Chef-GetScriptDirectory
1717function Install-AzureChefExtensionGem ($chefExtensionRoot ) {
1818 # Install the custom gem
1919 Write-Host (" [$ ( Get-Date ) ] Installing Azure-Chef-Extension gem" )
20- gem install " $chefExtensionRoot \\gems\\*.gem" -- no- document
20+ gem install " $chefExtensionRoot \\gems\\*.gem" -- local -- no- document
2121 Write-Host (" [$ ( Get-Date ) ] Installed Azure-Chef-Extension gem successfully" )
2222}
2323
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ read_environment_variables $chef_extension_root
1717# install azure chef extension gem
1818install_chef_extension_gem (){
1919 echo " [$( date) ] Installing Azure Chef Extension gem"
20- gem install " $1 " --no-document
20+ gem install " $1 " --local -- no-document
2121
2222 if test $? -ne 0; then
2323 echo " [$( date) ] Azure Chef Extension gem installation failed"
You can’t perform that action at this time.
0 commit comments