Flowdock
method

ensure_default_gem_subdirectories

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

Quietly ensure the Gem directory dir contains all the proper subdirectories for handling default gems. 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.