mirror of
https://github.com/ruby/setup-ruby.git
synced 2026-09-13 14:34:21 +02:00
Add support for truffleruby+graalvm
* Using ruby-build to avoid duplicating too much logic.
This commit is contained in:
@@ -62,7 +62,7 @@ export function isBundler1Default(engine, rubyVersion) {
|
||||
export function isBundler2Default(engine, rubyVersion) {
|
||||
if (engine === 'ruby') {
|
||||
return floatVersion(rubyVersion) >= 2.7
|
||||
} else if (engine === 'truffleruby') {
|
||||
} else if (engine.startsWith('truffleruby')) {
|
||||
return floatVersion(rubyVersion) >= 21.0
|
||||
} else if (engine === 'jruby') {
|
||||
return floatVersion(rubyVersion) >= 9.3
|
||||
|
||||
Reference in New Issue
Block a user