[rubygems/rubygems] Removed RUBY_PATCHLEVEL and modify condition for ruby_version
https://github.com/rubygems/rubygems/commit/b420e287a3
This commit is contained in:
parent
b09973a995
commit
fe1b0661cb
@ -855,7 +855,7 @@ An Array (#{env.inspect}) was passed in from #{caller[3]}
|
||||
return @ruby_version if defined? @ruby_version
|
||||
version = RUBY_VERSION.dup
|
||||
|
||||
unless defined?(RUBY_PATCHLEVEL) && RUBY_PATCHLEVEL != -1
|
||||
if RUBY_PATCHLEVEL == -1
|
||||
if RUBY_ENGINE == "ruby"
|
||||
desc = RUBY_DESCRIPTION[/\Aruby #{Regexp.quote(RUBY_VERSION)}([^ ]+) /, 1]
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user