Skip to content

Commit f5db46e

Browse files
committed
Fix version check
1 parent dc58db7 commit f5db46e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ async function installBundler(bundlerVersionInput, lockFile, platform, rubyPrefi
216216
} else if (engine === 'ruby' && rubyVersion.startsWith('2.3')) {
217217
console.log('Ruby 2.3 has a bug with Bundler 2 (https://github.com/rubygems/rubygems/issues/3570), using Bundler 1 instead on Ruby 2.3')
218218
bundlerVersion = '1'
219-
} else if (engine === 'jruby' && rubyVersion.startsWith('9.1.')) { // JRuby 9.1 targets Ruby 2.3, treat it the same
219+
} else if (engine === 'jruby' && rubyVersion.startsWith('9.1')) { // JRuby 9.1 targets Ruby 2.3, treat it the same
220220
console.log('JRuby 9.1 has a bug with Bundler 2 (https://github.com/ruby/setup-ruby/issues/108), using Bundler 1 instead on JRuby 9.1')
221221
bundlerVersion = '1'
222222
}

0 commit comments

Comments
 (0)