るりまサーチ (Ruby 2.3.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.085秒)

別のキーワード

  1. dependencylist dependency_order
  2. specification add_dependency
  3. specification add_runtime_dependency
  4. rubygems/dependency_list dependency_order
  5. rubygems/dependency name

ライブラリ

クラス

検索結果

Gem::DependencyList#dependency_order -> [Gem::Specification] (54658.0)

依存する Gem の数が少ない順にソートされた Gem::Specification のリストを返します。

依存する Gem の数が少ない順にソートされた Gem::Specification のリストを返します。

このことは、インストール済みの Gem を削除するときに便利です。
このメソッドで返された順にインストール済みの Gem 削除すると、
依存関係による多くの問題を回避することができます。

If there are circular dependencies (yuck!), then gems will be
returned in order until only the circular dependents and anything
they reference are le...