Issue #7713 has been reported by nobu (Nobuyoshi Nakada).

----------------------------------------
Bug #7713: Gem.ensure_gem_subdirectories makes subdirectories group-writable
https://bugs.ruby-lang.org/issues/7713

Author: nobu (Nobuyoshi Nakada)
Status: Open
Priority: Normal
Assignee: drbrain (Eric Hodel)
Category: lib
Target version: 
ruby -v: r38869


`make install' makes gem directories ($(libdir)/ruby/gems and others) group-writable, instead of $dir_mode.

I avoided this at r38870 for the time being, but seems better that Gem.ensure_gem_subdirectories takes optional parameter for the permission.


-- 
http://bugs.ruby-lang.org/