Return the default Gem path
Downloads uri
and returns it as a String
.
Dump only the raw version string, not the complete object. It’s a string for backwards (RubyGems 1.3.5 and earlier) compatibility.
Load custom marshal format. It’s a string for backwards (RubyGems 1.3.5 and earlier) compatibility.
remove trailing zeros segments before first letter or at the end of the version
returns an integer in (-infty, 0] a number closer to 0 means the dependency is less constraining
dependencies w/ 0 or 1 possibilities (ignoring version requirements) are given very negative values, so they always sort first, before dependencies that are unconstrained
Paths in the gem to add to $LOAD_PATH
when this gem is activated. If you have an extension you do not need to add "ext"
to the require path, the extension build process will copy the extension files into “lib” for you.
The default value is "lib"
Usage:
# If all library files are in the root directory... spec.require_paths = ['.']
Return the list of all array-oriented instance variables.
Returns the build_args
used to install the gem
Return true if there are possible conflicts against the currently loaded specs.
Singular accessor for require_paths
Singular accessor for require_paths
Returns an object you can use to sort specifications in sort_by.
Is spec
in gem_dir
?
Display an error message in a location expected to get error messages. Will ask question
if it is not nil.