Skip to content

Commit 819c372

Browse files
committed
Install Bundler 1 on Windows for Ruby < 2.6 without Bundler
1 parent 268389d commit 819c372

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

windows.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export async function downloadExtractAndSetPATH(ruby) {
2828
core.exportVariable('PATH', newPath)
2929

3030
if (!fs.existsSync(`${rubyPrefix}\\bin\\bundle.cmd`)) {
31-
await exec.exec(`${rubyPrefix}\\bin\\gem install bundler --no-document`)
31+
await exec.exec(`${rubyPrefix}\\bin\\gem install bundler -v "~> 1" --no-document`)
3232
}
3333

3434
return rubyPrefix

0 commit comments

Comments
 (0)