method

ensure_gem_subdirectories

Importance_1
v2_4_6 - Show latest stable - 0 notes - Class: Gem
ensure_gem_subdirectories(dir = Gem.dir, mode = nil) public

Quietly ensure the Gem directory dir contains all the proper subdirectories. If we can’t create a directory due to a permission problem, then we will silently continue.

If mode is given, missing directories are created with this mode.

World-writable directories will never be created.

Show source
Register or log in to add new notes.