sanitize

sanitize(spec) Instance Public methods Sanitize the descriptive fields in the spec. Sometimes non-ASCII characters will garble the site index. Non-ASCII characters will be replaced by their XML entity equivalent.

sanitize_string

sanitize_string(string) Instance Public methods Sanitize a single string.

update_index

update_index() Instance Public methods Perform an in-place update of the repository from newly added gems.

update_specs_index

update_specs_index(index, source, dest) Instance Public methods Combines specs in index and source then writes out a new copy to dest. For a latest index, does not ensure the new file is minimal.

exec_format

exec_format() Class Public methods Defaults to use Ruby's program prefix and suffix.

new

new(gem, options={}) Class Public methods Constructs an Installer instance that will install the gem located at gem. options is a Hash with the following keys: :bin_dir Where to put a bin wrapper if needed. :development Whether or not development dependencies should be installed. :env_shebang Use /usr/bin/env in bin wrappers. :force Overrides all version checks and security policy checks, except for a signed-gems-only policy. :format_executable Format the executable

app_script_text

app_script_text(bin_file_name) Instance Public methods Return the text for an application file.

build_extensions

build_extensions() Instance Public methods Builds extensions. Valid types of extensions are extconf.rb files, configure scripts and rakefiles or mkrf_conf files.

check_that_user_bin_dir_is_in_path

check_that_user_bin_dir_is_in_path() Instance Public methods DOC: Missing docs or :nodoc:.

dir

dir() Instance Public methods Return the target directory where the gem is to be installed. This directory is not guaranteed to be populated.