[rubygems/rubygems] @orig_RUBY_ENGINE is always provided now

https://github.com/rubygems/rubygems/commit/c5e8ad4823
This commit is contained in:
Hiroshi SHIBATA 2023-03-18 10:26:01 +09:00 коммит произвёл git
Родитель 1697869500
Коммит aa5d195712
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -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