mirror of
https://github.com/ruby/setup-ruby.git
synced 2026-09-13 22:44:20 +02:00
Fixup bundler version for rubies with bundler as a default gem
Fixes #117
This commit is contained in:
+2
@@ -51402,6 +51402,8 @@ async function installBundler(bundlerVersionInput, lockFile, platform, rubyPrefi
|
||||
const gem = path.join(rubyPrefix, 'bin', 'gem')
|
||||
await exec.exec(gem, ['install', 'bundler', '-v', `~> ${bundlerVersion}`, '--no-document'])
|
||||
}
|
||||
|
||||
core.exportVariable('BUNDLER_VERSION', bundlerVersion)
|
||||
}
|
||||
|
||||
async function bundleInstall(gemfile, lockFile, platform, engine, version) {
|
||||
|
||||
@@ -230,6 +230,8 @@ async function installBundler(bundlerVersionInput, lockFile, platform, rubyPrefi
|
||||
const gem = path.join(rubyPrefix, 'bin', 'gem')
|
||||
await exec.exec(gem, ['install', 'bundler', '-v', `~> ${bundlerVersion}`, '--no-document'])
|
||||
}
|
||||
|
||||
core.exportVariable('BUNDLER_VERSION', bundlerVersion)
|
||||
}
|
||||
|
||||
async function bundleInstall(gemfile, lockFile, platform, engine, version) {
|
||||
|
||||
Reference in New Issue
Block a user