summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2024-08-30 18:57:20 +0200
committergit <svn-admin@ruby-lang.org>2024-09-02 14:01:15 +0000
commitbb511c3f10918efdcc4d5efd980561903e67dc10 (patch)
tree85f47cbdf70700e3eb191959755a5151392c3448 /test
parentb00b0d5f8fb9b3e39c55289b67b9320ebaddd5d3 (diff)
[rubygems/rubygems] Don't try to remove previous install folder if it's empty
Ruby ships with empty directories for default gems. If Ruby installations has unsafe world-writable permissions, we will complain when about to install a gem that happens to be also a default gem, because we'll start by removing the previous install folder and that's supposed to be insecure due to too loose permissions. However, if the folder is empty, we don't actually need to remove anything, so we can skip the whole thing, avoiding the errors. https://github.com/rubygems/rubygems/commit/2f3cd8ac4e
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions