lib/bundler/ruby_version.rb in bundler-2.3.3 vs lib/bundler/ruby_version.rb in bundler-2.3.4
- old
+ new
@@ -101,10 +101,10 @@
Array(versions).join(", ")
end
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
@ruby_version ||= RubyVersion.new(ruby_version, patchlevel, ruby_engine, ruby_engine_version)
end