Skip to content

Commit

Permalink
Download Ruby setup to C: drive
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
andyundso committed Oct 4, 2023
1 parent defa6bc commit b5a44a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b5a44a5

Please sign in to comment.