種類
- インスタンスメソッド (13)
- 特異メソッド (3)
- 定数 (1)
- ライブラリ (1)
- モジュール関数 (1)
ライブラリ
- ビルトイン (3)
- mkmf (1)
- pathname (1)
-
rubygems
/ dependency _ installer (2) -
rubygems
/ installer (1) -
rubygems
/ specification (4) -
rubygems
/ uninstaller (1) - shell (1)
-
shell
/ command-processor (2) -
shell
/ filter (2)
クラス
- File (1)
-
File
:: Stat (1) -
Gem
:: DependencyInstaller (2) -
Gem
:: Installer (1) -
Gem
:: Specification (4) -
Gem
:: Uninstaller (1) - Pathname (1)
- Shell (1)
-
Shell
:: CommandProcessor (2) -
Shell
:: Filter (2)
キーワード
-
DEFAULT
_ OPTIONS (1) -
add
_ bindir (1) -
default
_ executable (1) - executable? (2)
-
executable
_ real? (7) - executables (1)
-
find
_ executable (1) - new (2)
-
remove
_ executables (1) -
rubygems
/ commands / install _ command (1)
検索結果
先頭5件
-
Gem
:: Specification # executable -> String (72904.0) -
実行可能ファイル名を返します。
実行可能ファイル名を返します。 -
FileTest
. # executable _ real?(file) -> bool (64240.0) -
ファイルがカレントプロセスの実ユーザか実グループで実行できる時に真を返します。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
ファイルがカレントプロセスの実ユーザか実グループで実行できる時に真を返します。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
@param file ファイル名を表す文字列を指定します。
//emlist[例][ruby]{
IO.write("empty.txt", "")
File.chmod(0744, "empty.txt")
FileTest.executable_real?("empty.txt") # => true
File.chmod(0644, "empty.txt")
FileTest.ex... -
File
. executable _ real?(path) -> bool (63952.0) -
FileTest.#executable_real? と同じです。
FileTest.#executable_real? と同じです。
@param path パスを表す文字列を指定します。 -
File
:: Stat # executable _ real? -> bool (63922.0) -
実ユーザ/グループIDで実行できる時に真を返します。
実ユーザ/グループIDで実行できる時に真を返します。
//emlist[][ruby]{
p File::Stat.new($0).executable_real?
#例
#=> true
//} -
Shell
# executable _ real?(file) -> bool (55222.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#executable_real? -
Shell
:: CommandProcessor # executable _ real?(file) -> bool (55222.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#executable_real? -
Shell
:: Filter # executable _ real?(file) -> bool (55222.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#executable_real? -
Pathname
# executable _ real? -> bool (54970.0) -
FileTest.executable_real?(self.to_s) と同じです。
FileTest.executable_real?(self.to_s) と同じです。
@see FileTest.#executable_real? -
Gem
:: Uninstaller # remove _ executables(gemspec) (54901.0) -
与えられた Gem::Specification に対応する実行ファイルを削除します。
与えられた Gem::Specification に対応する実行ファイルを削除します。
@param gemspec アンインストール指定されている Gem の Gem::Specification を指定します。 -
Shell
:: CommandProcessor # executable?(file) -> bool (45922.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#executable? -
Shell
:: Filter # executable?(file) -> bool (45922.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#executable? -
Kernel
# find _ executable(bin , path = nil) -> String | nil (45904.0) -
パス path から実行ファイル bin を探します。
パス path から実行ファイル bin を探します。
実行ファイルが見つかった場合は、そのフルパスを返します。
実行ファイルが見つからなかった場合は、nilを返します。
このメソッドは Makefile を変更しません。
@param bin 実行ファイルの名前を指定します。
@param path パスを指定します。デフォルトは環境変数 PATH です。
環境変数 PATH が定義されていない場合は /usr/local/bin,
/usr/ucb, /usr/bin, /bin を使います。 -
Gem
:: Specification # default _ executable -> String | nil (36904.0) -
Gem パッケージ内で gem コマンド経由で実行するファイルを返します。
Gem パッケージ内で gem コマンド経由で実行するファイルを返します。 -
Gem
:: Specification # executables -> [String] (36901.0) -
実行可能ファイル名のリストを返します。
実行可能ファイル名のリストを返します。 -
rubygems
/ commands / install _ command (36073.0) -
Gem パッケージをローカルリポジトリにインストールするためのライブラリです。
Gem パッケージをローカルリポジトリにインストールするためのライブラリです。
Usage: gem install GEMNAME [GEMNAME ...] [options] -- --build-flags [options]
Options:
--platform PLATFORM 指定されたプラットフォームの Gem パッケージをインストールします
-v, --version VERSION 指定されたバージョンの Gem パッケージをインストールします
Install/Update Op... -
Gem
:: DependencyInstaller :: DEFAULT _ OPTIONS -> Hash (27319.0) -
自身を初期化する際に使用するデフォルトのオプションです。
自身を初期化する際に使用するデフォルトのオプションです。
:env_shebang => false,
:domain => :both, # HACK dup
:force => false,
:format_executable => false, # HACK dup
:ignore_dependencies => false,
:security_policy => nil, # HACK NoSecurity requires OpenSSL. Al... -
Gem
:: Specification # add _ bindir(executables) -> Array | nil (18901.0) -
実行コマンドの格納場所を返します。
実行コマンドの格納場所を返します。
@param executables 実行コマンド名を格納した配列を指定します。 -
Gem
:: DependencyInstaller . new(options = {}) -> Gem :: DependencyInstaller (18619.0) -
自身を初期化します。
自身を初期化します。
オプションとして以下のものを利用できます。
: :cache_dir
*.gem ファイルを保存するディレクトリを指定します。
: :domain
:local (カレントディレクトリのみ検索します), :remote (Gem.sources を検索します),
:both (:local, :remote の両方を検索します) のいずれかを指定可能です。
: :env_shebang
Gem::Installer.new を参照してください。
: :force
バージョンチェックとセキュリティポリシーのチェックを行わずにインストールを実行します... -
Gem
:: Installer . new(gem , options = {}) -> Gem :: Installer (18619.0) -
@todo 書いてないオプションがいっぱいある
@todo 書いてないオプションがいっぱいある
与えられた引数で自身を初期化します。
@param gem インストール対象の Gem のパスを指定します。
@param options インストーラが使用するオプションをハッシュで指定します。
使用できるキーは以下の通りです。
: :env_shebang
コマンドのラッパーで shebang line に /usr/bin/env を使用します。
: :force
署名された Gem のみをインストールするというポリシー以外、
全てのバージョンチェックとセキュリティポリシーのチェックを行わない...