Skip to content

Commit f2c070b

Browse files
committed
1 parent ece8276 commit f2c070b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

bundler.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ export async function installBundler(bundlerVersionInput, rubygemsInputSet, lock
117117

118118
const gem = path.join(rubyPrefix, 'bin', 'gem')
119119
// Workaround for https://github.com/rubygems/rubygems/issues/5245
120-
const force = (platform.startsWith('windows-') && engine === 'ruby' && floatVersion >= 3.1) ? ['--force'] : []
120+
// and for https://github.com/oracle/truffleruby/issues/2780
121+
const force = ((platform.startsWith('windows-') && engine === 'ruby' && floatVersion >= 3.1) || (engine === 'truffleruby')) ? ['--force'] : []
121122

122123
const versionParts = [...bundlerVersion.matchAll(/\d+/g)].length
123124
const bundlerVersionConstraint = versionParts === 3 ? bundlerVersion : `~> ${bundlerVersion}.0`

dist/index.js

Lines changed: 2 additions & 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)