1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] Remove the rest of the RUBY_VERSION monkeypatching

Since we're at it. This generates a bunch of warnings and seems like a
brittle way to test things, so let's get rid of it.

f5d45520e0
This commit is contained in:
David Rodríguez 2021-12-26 19:44:24 +01:00 committed by Hiroshi SHIBATA
parent ca3a2e46e8
commit 03903f23c2
Notes: git 2021-12-27 10:46:03 +09:00
3 changed files with 24 additions and 19 deletions

View file

@ -103,7 +103,7 @@ module Bundler
def self.system
ruby_engine = RUBY_ENGINE.dup
ruby_version = ENV.fetch("BUNDLER_SPEC_RUBY_VERSION") { RUBY_VERSION }.dup
ruby_version = RUBY_VERSION.dup
ruby_engine_version = RUBY_ENGINE_VERSION.dup
patchlevel = RUBY_PATCHLEVEL.to_s