Skip to content

Commit 4727905

Browse files
deivid-rodriguezeregon
authored andcommitted
Try also removing the other case where --force is used
1 parent f66e112 commit 4727905

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

bundler.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,13 +137,11 @@ export async function installBundler(bundlerVersionInput, rubygemsInputSet, lock
137137
}
138138

139139
const gem = path.join(rubyPrefix, 'bin', 'gem')
140-
// and for https://github.com/oracle/truffleruby/issues/2780
141-
const force = engine === 'truffleruby' ? ['--force'] : []
142140

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

146-
await exec.exec(gem, ['install', 'bundler', ...force, '-v', bundlerVersionConstraint])
144+
await exec.exec(gem, ['install', 'bundler', '-v', bundlerVersionConstraint])
147145

148146
return bundlerVersion
149147
}

dist/index.js

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

0 commit comments

Comments
 (0)