[rubygems/rubygems] @orig_RUBY_ENGINE is always provided now
https://github.com/rubygems/rubygems/commit/c5e8ad4823
This commit is contained in:
parent
1697869500
commit
aa5d195712
@ -478,8 +478,7 @@ ERROR: Certificate is an invalid CA certificate
|
||||
|
||||
def util_restore_version
|
||||
Object.send :remove_const, :RUBY_ENGINE
|
||||
Object.send :const_set, :RUBY_ENGINE, @orig_RUBY_ENGINE if
|
||||
defined?(@orig_RUBY_ENGINE)
|
||||
Object.send :const_set, :RUBY_ENGINE, @orig_RUBY_ENGINE
|
||||
|
||||
Object.send :remove_const, :RUBY_PATCHLEVEL
|
||||
Object.send :const_set, :RUBY_PATCHLEVEL, @orig_RUBY_PATCHLEVEL
|
||||
|
Loading…
x
Reference in New Issue
Block a user