Skip to content

Commit 2657d32

Browse files
committed
Remove bundler enforcement on ruby 2.3
The fix for rubygems/rubygems#3570 was released with bundler 2.2.0.rc.1.
1 parent 6e288cd commit 2657d32

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

bundler.js

-3
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,6 @@ export async function installBundler(bundlerVersionInput, lockFile, platform, ru
7272
if (engine === 'ruby' && rubyVersion.match(/^2\.[012]/)) {
7373
console.log('Bundler 2 requires Ruby 2.3+, using Bundler 1 on Ruby <= 2.2')
7474
bundlerVersion = '1'
75-
} else if (engine === 'ruby' && rubyVersion.startsWith('2.3')) {
76-
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')
77-
bundlerVersion = '1'
7875
} else if (engine === 'jruby' && rubyVersion.startsWith('9.1')) { // JRuby 9.1 targets Ruby 2.3, treat it the same
7976
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')
8077
bundlerVersion = '1'

dist/index.js

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

0 commit comments

Comments
 (0)