method
process_options
v2_1_10 -
Show latest stable
- Class:
Gem::Installer
process_options()public
DOC: Missing docs or :nodoc:.
# File lib/rubygems/installer.rb, line 570
def process_options
@options = {
:bin_dir => nil,
:env_shebang => false,
:force => false,
:only_install_dir => false
}.merge options
@env_shebang = options[:env_shebang]
@force = options[:force]
@install_dir = options[:install_dir]
@gem_home = options[:install_dir] || Gem.dir
@ignore_dependencies = options[:ignore_dependencies]
@format_executable = options[:format_executable]
@security_policy = options[:security_policy]
@wrappers = options[:wrappers]
@only_install_dir = options[:only_install_dir]
# If the user has asked for the gem to be installed in a directory that is
# the system gem directory, then use the system bin directory, else create
# (or use) a new bin dir under the gem_home.
@bin_dir = options[:bin_dir] || Gem.bindir(gem_home)
@development = options[:development]
@build_args = options[:build_args] || Gem::Command.build_args
end Related methods
- Instance methods
- app_script_text
- build_extensions
- check_executable_overwrite
- check_that_user_bin_dir_is_in_path
- default_spec_file
- dir
- ensure_dependencies_met
- ensure_dependency
- ensure_loadable_spec
- ensure_required_ruby_version_met
- ensure_required_rubygems_version_met
- extension_build_error
- extract_bin
- extract_files
- formatted_program_filename
- gem_dir
- generate_bin
- generate_bin_script
- generate_bin_symlink
- generate_windows_script
- install
- installation_satisfies_dependency?
- installed_specs
- pre_install_checks
- process_options
- run_post_build_hooks
- run_post_install_hooks
- run_pre_install_hooks
- shebang
- spec
- spec_file
- unpack
- verify_gem_home
- windows_stub_script
- write_build_info_file
- write_cache_file
- write_default_spec
- write_spec
- Class methods
- exec_format
- new