find_files

find_files(glob, check_load_path=true) Class Public methods Returns a list of paths matching glob that can be used by a gem to pick up features from other gems. For example: Gem.find_files('rdoc/discover').each do |path| load path end if check_load_path is true (the default), then ::find_files also searches $LOAD_PATH for files as well as gems. Note that ::find_files will return all files even if they are from different versions of the same gem.

ensure_gem_subdirectories

ensure_gem_subdirectories(dir = Gem.dir, mode = nil) Class Public methods 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.

done_installing

done_installing(&hook) Class Public methods Adds a post-installs hook that will be passed a Gem::DependencyInstaller and a list of installed specifications when Gem::DependencyInstaller#install is complete

dir

dir() Class Public methods The path where gems are to be installed.

detect_gemdeps

detect_gemdeps() Class Public methods

deflate

deflate(data) Class Public methods A Zlib::Deflate.deflate wrapper

default_sources

default_sources() Class Public methods An Array of the default sources that come with RubyGems

default_rubygems_dirs

default_rubygems_dirs() Class Public methods Paths where RubyGems' .rb files and bin files are installed

default_path

default_path() Class Public methods Default gem load path

default_key_path

default_key_path() Class Public methods The default signing key path