diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2024-06-19 19:31:18 +0900 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2024-06-19 11:42:35 +0000 |
| commit | 321ed86e93a34833bd869c6bc3f52d84b8ecce35 (patch) | |
| tree | edfe39e0d818fef0484cc58849862451b5b4f5dd | |
| parent | 57e15074fe90e78afc9eadd8287f777d83a8ce6d (diff) | |
[rubygems/rubygems] Do not set previously unset value
https://github.com/rubygems/rubygems/commit/0148cce153
| -rw-r--r-- | test/rubygems/test_gem_installer.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_installer.rb b/test/rubygems/test_gem_installer.rb index 61609a26c9..52498cdd6d 100644 --- a/test/rubygems/test_gem_installer.rb +++ b/test/rubygems/test_gem_installer.rb @@ -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 |
