diff options
author | John <john.mccrae@progress.com> | 2023-02-28 19:04:06 -0800 |
---|---|---|
committer | John <john.mccrae@progress.com> | 2023-02-28 19:04:06 -0800 |
commit | 41d30c9670be293413c9064c0813230156244d54 (patch) | |
tree | 422276269ab4673725400f8e99dea7bdcb177beb | |
parent | 407f0314c123fdc59b3de25500869401ca644f14 (diff) | |
download | chef-41d30c9670be293413c9064c0813230156244d54.tar.gz |
Correcting URL for installing Choco from
Signed-off-by: John <john.mccrae@progress.com>
-rw-r--r-- | .expeditor/scripts/bk_win_functional.ps1 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.expeditor/scripts/bk_win_functional.ps1 b/.expeditor/scripts/bk_win_functional.ps1 index 871bb99c46..0c7ce996d2 100644 --- a/.expeditor/scripts/bk_win_functional.ps1 +++ b/.expeditor/scripts/bk_win_functional.ps1 @@ -15,6 +15,14 @@ if (-not(Test-Path -Path "C:\ProgramData\chocolatey\bin\choco.exe")){ Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1')) } +Write-Output "Is fucking Choco installed or Not?" +Get-Command -Name choco +Write-Output "`r`n" + +Write-Output "here's my path :`r`n" +Write-Output $env:path +Write-Output "`r`n" + choco install ruby --version=3.0.5.1 --package-parameters="'/InstallDir:C:\ruby30'" -y refreshenv $env:Path = [System.Environment]::GetEnvironmentVariable("Path", "Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path", "User") + ";C:\Ruby30\bin" |