[rubygems/rubygems] [PathSupport] Simplify logic: If Gem.default_dir is writable, use it.
Gem.default_dir
I couldn't find a cross-platform way to check "can I create this directory?"
So I removed that, and went back to the original simpler logic of "if the directory is writable, use it."
https://github.com/rubygems/rubygems/commit/3aa86a56db
[rubygems/rubygems] [PathSupport] Simplify logic: If
Gem.default_dir
is writable, use it.I couldn't find a cross-platform way to check "can I create this directory?"
So I removed that, and went back to the original simpler logic of
"if the directory is writable, use it."
https://github.com/rubygems/rubygems/commit/3aa86a56db