Returns the full path to the cache directory containing this spec’s cached gem.
Returns the local directory to write uri
to.
Returns the full path to installed gem’s bin directory.
NOTE: do not confuse this with bindir
, which is just ‘bin’, not a full path.
Returns the full path to this spec’s documentation directory. If type
is given it will be appended to the end. For example:
spec.doc_dir # => "/path/to/gem_repo/doc/a-1" spec.doc_dir 'ri' # => "/path/to/gem_repo/doc/a-1/ri"
Returns the full path to this spec’s ri directory.
Returns the full path to the directory containing this spec’s gemspec file. eg: /usr/local/lib/ruby/gems/1.8/specifications
Returns the full path to the base gem directory.
eg: /usr/local/lib/ruby/gems/1.8
Returns full path to the directory where gem’s extensions are installed.
Returns path to the extensions directory.
Returns the full path to this spec’s gem directory. eg: /usr/local/lib/ruby/1.8/gems/mygem-1.0
Returns the full path to the gems directory containing this spec’s gem directory. eg: /usr/local/lib/ruby/1.8/gems
Lazy accessor for the spec’s gem directory.
Returns a Gem::Security::TrustDir
which wraps the directory where trusted certificates live.
Returns the path parameter passed to dir’s constructor.
d = Dir.new("..") d.path #=> ".."
Default spec directory path to be used if an alternate value is not specified in the environment
Returns binary extensions dir for specified RubyGems base dir or nil if such directory cannot be determined.
By default, the binary extensions are located side by side with their Ruby counterparts, therefore nil is returned
Returns the full path to the build info directory
Globs for files matching pattern
inside of directory
, returning absolute paths to the matching files.