Skip to content

Commit ae403e8

Browse files
MSP-Gregeregon
authored andcommitted
Don't install Bundler on Windows mingw, mswin & ucrt builds
1 parent 3804ad4 commit ae403e8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bundler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export async function installBundler(bundlerVersionInput, rubygemsInputSet, lock
7272

7373
if (bundlerVersion === 'default') {
7474
if (common.isBundler2dot2Default(engine, rubyVersion)) {
75-
if (common.windows && engine === 'ruby') {
75+
if (common.windows && engine === 'ruby' && (common.isStableVersion(rubyVersion) || rubyVersion === 'head')) {
7676
// https://github.com/ruby/setup-ruby/issues/371
7777
console.log(`Installing latest Bundler for ${engine}-${rubyVersion} on Windows because bin/bundle does not work in bash otherwise`)
7878
bundlerVersion = 'latest'

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)