Git binary path
Return the full path to the cached gem file matching the given name and version requirement. Returns ‘nil’ if no match.
Example:
get_path 'rake', '> 0.4' # "/usr/lib/ruby/gems/1.8/cache/rake-0.4.2.gem" get_path 'rake', '< 0.1' # nil get_path 'rak' # nil (exact name required)
Corresponds to $(LIBPATH) in mkmf
The full name of the specification to be activated.
Path of activations from the current
list.
The name and version of the specification.
Unlike Gem::Specification#full_name
, the platform is not included.
The name and version of the specification.
Unlike Gem::Specification#full_name
, the platform is not included.
Returns the path to the trusted certificate
Returns the full file path of this frame.
Same as path
, except that it will return absolute path even if the frame is in the main script.
Ruby expects the dylib to follow a file name convention for loading
Example:
x.foo ^^^^ x.foo(42) ^^^^ x&.foo ^^^^^ x[42] ^^^^ x += 1 ^
Get all gem names from the command line.
Get a single gem name from the command line. Fail if there is no gem name or if there is more than one gem name given.