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.
A recommended version for use with a ~> Requirement.
Sanitize a single string.
Returns an array with bindir attached to each executable in the executables
list
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 an executable named name
in this gem.
Duplicates array_attributes
from other_spec
so state isn’t shared.
Sets the rubygems_version
to the current RubyGems version.
Checks to see if the files to be packaged are world-readable.
Builds and installs the Gem::Specification
spec
Uninstalls the Gem::Specification
spec
Reads a binary file at path
Install the provided specs
Is this test being run on a Windows platform?
Is this test being run on a Windows platform?
Returns whether or not we’re on a version of Ruby built with VC++ (or Borland) versus Cygwin, Mingw, etc.
Returns whether or not we’re on a version of Ruby built with VC++ (or Borland) versus Cygwin, Mingw, etc.
Uninstalls gem spec
Display a warning on stderr. Will ask question
if it is not nil.
Returns a list of aliased commands
Creates a command alias at the given alias
for the given command
, passing any options
along with it.
Shell::CommandProcessor.alias_command "lsC", "ls", "-CBF", "--show-control-chars" Shell::CommandProcessor.alias_command("lsC", "ls"){|*opts| ["-CBF", "--show-control-chars", *opts]}