るりまサーチ (Ruby 2.2.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.027秒)
トップページ > バージョン:2.2.0[x] > ライブラリ:rubygems[x] > クエリ:Gem::InstallError[x] > クエリ:ensure_dependency[x]

別のキーワード

  1. rubygems/exceptions installerror
  2. rubygems/exceptions gem::installerror
  3. installerror rubygems/exceptions
  4. ensure_dependency gem::installerror

クラス

検索結果

Gem::Installer#ensure_dependency(spec, dependency) -> true (54343.0)

インストールしようとしている Gem が依存関係を満たしている事を確認します。

インストールしようとしている Gem が依存関係を満たしている事を確認します。

依存関係を満たしていない場合は、例外 Gem::InstallError が発生します。

@param spec Gem::Specification のインスタンスを指定します。

@param dependency Gem::Dependency のインスタンスを指定します。

@raise Gem::InstallError 依存関係を満たしていない場合に発生します。