diff --git a/dist/index.js b/dist/index.js index 35fdeb3..445d0de 100644 --- a/dist/index.js +++ b/dist/index.js @@ -52044,7 +52044,7 @@ async function installBundler(bundlerVersionInput, lockFile, platform, rubyPrefi } else if (engine === 'ruby' && rubyVersion.startsWith('2.3')) { 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') bundlerVersion = '1' - } else if (engine === 'jruby' && rubyVersion.startsWith('9.1.')) { // JRuby 9.1 targets Ruby 2.3, treat it the same + } else if (engine === 'jruby' && rubyVersion.startsWith('9.1')) { // JRuby 9.1 targets Ruby 2.3, treat it the same 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') bundlerVersion = '1' } diff --git a/index.js b/index.js index eaef0ce..9a57fb4 100644 --- a/index.js +++ b/index.js @@ -216,7 +216,7 @@ async function installBundler(bundlerVersionInput, lockFile, platform, rubyPrefi } else if (engine === 'ruby' && rubyVersion.startsWith('2.3')) { 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') bundlerVersion = '1' - } else if (engine === 'jruby' && rubyVersion.startsWith('9.1.')) { // JRuby 9.1 targets Ruby 2.3, treat it the same + } else if (engine === 'jruby' && rubyVersion.startsWith('9.1')) { // JRuby 9.1 targets Ruby 2.3, treat it the same 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') bundlerVersion = '1' }