Install Bundler 1 on Windows for Ruby < 2.6 without Bundler

This commit is contained in:
Benoit Daloze
2020-01-08 22:15:01 +01:00
parent 268389d93d
commit 819c372fe9
2 changed files with 2 additions and 2 deletions
Generated Vendored
+1 -1
View File
@@ -6495,7 +6495,7 @@ async function downloadExtractAndSetPATH(ruby) {
core.exportVariable('PATH', newPath)
if (!fs.existsSync(`${rubyPrefix}\\bin\\bundle.cmd`)) {
await exec.exec(`${rubyPrefix}\\bin\\gem install bundler --no-document`)
await exec.exec(`${rubyPrefix}\\bin\\gem install bundler -v "~> 1" --no-document`)
}
return rubyPrefix