Skip to content

Commit b5a44a5

Browse files
committed
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.
1 parent defa6bc commit b5a44a5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,10 @@ jobs:
117117
echo "Ruby Target Version Found: $target_version"
118118
119119
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
120-
Invoke-WebRequest -UseBasicParsing -uri $download_uri -OutFile ruby-setup.exe
121-
120+
Invoke-WebRequest -UseBasicParsing -uri $download_uri -OutFile C:\ruby-setup.exe
121+
122122
echo "Download finished, starting installation of $target_version"
123-
.\ruby-setup.exe /VERYSILENT /NORESTART /ALLUSERS /DIR=C:/Ruby<< parameters.ruby_version >>-x64
123+
C:\ruby-setup.exe /VERYSILENT /NORESTART /ALLUSERS /DIR=C:/Ruby<< parameters.ruby_version >>-x64
124124
125125
- run:
126126
name: ruby diagnostics

0 commit comments

Comments
 (0)