Ruby 1.9.2 リファレンスマニュアル > ライブラリ一覧 > rubygems/installerライブラリ > Gem::Installerクラス
クラスの継承リスト: Gem::Installer < Gem::UserInteraction < Gem::DefaultUserInteraction < Gem::RequirePathsBuilder < Object < Kernel < BasicObject
Gem::Installer は Gem を展開し、 Gem に含まれていたファイルを ファイルシステム上の正しい位置に配置します。
また、gemspec を specifications ディレクトリに、キャッシュを cache ディレクトリに、 実行ファイルやシンボリックリンクなどを bin ディレクトリに配置します。
定義 | 説明 | |
---|---|---|
exec_format -> String
|
実行ファイル名のフォーマットを返します。 |
|
exec_format=(format)
|
実行ファイル名のフォーマットをセットします。 |
|
home_install_warning -> bool
|
この値が真の場合、ホームディレクトリに Gem をインストールしようとすると警告を表示します。 |
|
home_install_warning=(flag)
|
ホームディレクトリに Gem をインストールしようとすると警告を表示するかどうかセットします。 |
|
new(gem, options = {})
|
与えられた引数で自身を初期化します。 |
|
path_warning -> bool
|
この値が 真の場合は Gem.bindir が PATH に含まれていない場合に警告を表示します。 |
|
path_warning=(flag)
|
Gem.bindir が PATH に含まれていない場合に警告を表示するかどうかセットします。 |
定義 | 説明 | |
---|---|---|
app_script_text -> String
|
アプリケーションのための実行ファイルの雛形のテキストを返します。 |
|
bin_dir -> String
|
実行ファイルをインストールするディレクトリを返します。 |
|
build_extensions
|
拡張ライブラリをビルドします。 |
|
ensure_dependency -> true
|
インストールしようとしている Gem が依存関係を満たしている事を確認します。 |
|
extract_files
|
ファイルのインデックスを読み取って、それぞれのファイルを Gem のディレクトリに展開します。 |
|
formatted_program_filename(filename) -> String
|
Ruby のコマンドと同じプレフィックスとサフィックスを付けたファイル名を返します。 |
|
gem_home -> String
|
Gem のインストール先を返します。 |
|
generate_bin
|
Gem でインストールされる実行ファイルを作成します。 |
|
generate_bin_script(filename, bindir)
|
Gem に入っているアプリケーションを実行するためのスクリプトを作成します。 |
|
generate_bin_symlink(filename, bindir)
|
Gem に入っているアプリケーションを実行するためのシンボリックリンクを作成します。 |
|
generate_windows_script(bindir, filename)
|
コマンドの実行を容易にするために Windows 向けのバッチファイルを作成します。 |
|
install -> Gem::Specification
|
Gem をインストールします。 |
|
installation_satisfies_dependency?(dependency) -> bool
|
登録されているソースインデックスが与えられた依存関係を 満たすことができる場合は、真を返します。そうでない場合は偽を返します。 |
|
shebang(bin_file_name) -> String
|
実行ファイル内で使用する shebang line (#! line) を表す文字列を返します。 |
|
spec -> Gem::Specification
|
インストールしようとしている Gem に対応する Gem::Specification のインスタンスを返します。 |
|
unpack(directory)
|
与えられたディレクトリに Gem を展開します。 |
|
windows_stub_script -> String
|
コマンドを起動するために使用する Windows 用のバッチファイルの内容を 文字列として返します。 |
|
write_spec
|
Ruby スクリプト形式で .gemspec ファイルを作成します。 |
!
!=
write_require_paths_file_if_needed
alert
alert_error
alert_warning
ask
ask_yes_no
choose_from_list
say
terminate_interaction
==
===
=~
__id__
__send__
_dump
class
clone
dclone
display
enum_for
eql?
equal?
extend
freeze
frozen?
hash
initialize
initialize_copy
inspect
instance_eval
instance_exec
instance_of?
instance_variable_defined?
instance_variable_get
instance_variable_set
instance_variables
is_a?
marshal_dump
marshal_load
method
method_missing
methods
must_be
must_be_close_to
must_be_empty
must_be_instance_of
must_be_kind_of
must_be_nil
must_be_same_as
must_be_within_epsilon
must_equal
must_include
must_match
must_raise
must_respond_to
must_send
must_throw
nil?
pretty_inspect
pretty_print
pretty_print_cycle
pretty_print_inspect
pretty_print_instance_variables
private_methods
protected_methods
public_methods
remove_instance_variable
respond_to?
respond_to_missing?
singleton_class
singleton_method_added
singleton_method_removed
singleton_method_undefined
singleton_methods
taint
tainted?
tap
to_a
to_ary
to_hash
to_int
to_io
to_proc
to_regexp
to_s
to_str
to_yaml
to_yaml_properties
to_yaml_style
trust
untaint
untrust
untrusted?
wont_be
wont_be_close_to
wont_be_empty
wont_be_instance_of
wont_be_kind_of
wont_be_nil
wont_be_same_as
wont_be_within_epsilon
wont_equal
wont_include
wont_match
wont_respond_to