The unused code is a leftover from commit 38b0e7ed64c3ca1c40f43c5aa9a1ead2f6cd7049 .
That commit disabled that RubyVersion.system is respected, but it seems that that feature wasn't missed.
What was the end-user problem that led to this PR?
Not known.
What was your diagnosis of the problem?
I read the bundler source code and noticed this.
What is your fix for the problem, implemented in this PR?
My fix removes the code that seems to be of no use.
Why did you choose this fix out of the possible options?
As a alternative I added #7559 that reactivates the code in question.
The unused code is a leftover from commit 38b0e7ed64c3ca1c40f43c5aa9a1ead2f6cd7049 . That commit disabled that RubyVersion.system is respected, but it seems that that feature wasn't missed.
What was the end-user problem that led to this PR?
Not known.
What was your diagnosis of the problem?
I read the bundler source code and noticed this.
What is your fix for the problem, implemented in this PR?
My fix removes the code that seems to be of no use.
Why did you choose this fix out of the possible options?
As a alternative I added #7559 that reactivates the code in question.