From b5a44a538447497c215341e225e092a898546031 Mon Sep 17 00:00:00 2001 From: Andy Pfister Date: Wed, 4 Oct 2023 21:31:47 +0200 Subject: [PATCH] Download Ruby setup to C: drive CircleCI does not like if the current directory, where you want to check out the code, is not empty. Downloading the setup file to C: should fix that issue. --- .circleci/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index dede0067..8cca07d4 100755 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -117,10 +117,10 @@ jobs: echo "Ruby Target Version Found: $target_version" [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 - Invoke-WebRequest -UseBasicParsing -uri $download_uri -OutFile ruby-setup.exe - + Invoke-WebRequest -UseBasicParsing -uri $download_uri -OutFile C:\ruby-setup.exe + echo "Download finished, starting installation of $target_version" - .\ruby-setup.exe /VERYSILENT /NORESTART /ALLUSERS /DIR=C:/Ruby<< parameters.ruby_version >>-x64 + C:\ruby-setup.exe /VERYSILENT /NORESTART /ALLUSERS /DIR=C:/Ruby<< parameters.ruby_version >>-x64 - run: name: ruby diagnostics