[rubygems/rubygems] Do not set previously unset value

https://github.com/rubygems/rubygems/commit/0148cce153
This commit is contained in:
Nobuyoshi Nakada 2024-06-19 19:31:18 +09:00 committed by git
parent 57e15074fe
commit 321ed86e93

View File

@ -2577,6 +2577,7 @@ end
yield
ensure
RbConfig::CONFIG["LIBRUBY_RELATIVE"] = orig_libruby_relative
# RbConfig::CONFIG values are strings only, there should not be a nil.
RbConfig::CONFIG["LIBRUBY_RELATIVE"] = orig_libruby_relative if orig_libruby_relative
end
end