Skip to content

Commit 4d8ce7b

Browse files
committed
ruby-head now sets a proper ABI version
https://bugs.ruby-lang.org/issues/18249
1 parent cd9d3de commit 4d8ce7b

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

bundler.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,7 @@ async function computeBaseKey(platform, engine, version, lockFile, cacheVersion)
192192

193193
if (common.isHeadVersion(version)) {
194194
if (engine !== 'jruby') {
195-
// CRuby dev versions do not change the ABI version when the ABI changes, so use the commit as the ABI version
196-
let print_abi = engine === 'ruby' ? 'print RUBY_REVISION' : "print RbConfig::CONFIG['ruby_version']"
195+
let print_abi = "print RbConfig::CONFIG['ruby_version']"
197196
let abi = ''
198197
await exec.exec('ruby', ['-e', print_abi], {
199198
silent: true,

dist/index.js

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

0 commit comments

Comments
 (0)