Ruby 4.0 リファレンスマニュアル

library rubygems/commands/pristine_command

[edit]

要約

インストールされている Gem パッケージを初期状態にするためのライブラリです。

Usage: gem pristine [args] [options]
  Options:
        --all                        インストールされている全ての Gem パッケージを
                                     初期状態に戻します
    -v, --version VERSION            指定したバージョンの Gem パッケージを
                                     初期状態に戻します
Common Options:
  -h, --help                       このコマンドのヘルプを表示します
  -V, --[no-]verbose               表示を詳細にします
  -q, --quiet                      静かに実行します
      --config-file FILE           指定された設定ファイルを使用します
      --backtrace                  バックトレースを表示します
      --debug                      Ruby 自体のデバッグオプションを有効にします
Arguments:
  GEMNAME       gem to restore to pristine condition (unless --all)
Summary:
  Restores installed gems to pristine condition from files located in the gem
  cache
Description:
  The pristine command compares the installed gems with the contents of the
  cached gem and restores any files that don't match the cached gem's copy.
      
  If you have made modifications to your installed gems, the pristine command
  will revert them.  After all the gem's files have been checked all bin stubs
  for the gem are regenerated.
      
  If the cached gem cannot be found, you will need to use `gem install` to
  revert the gem.
Defaults:
  --all

クラス

Gem::Commands::PristineCommand

インストールされている Gem パッケージを初期状態にするためのクラスです。

同時にrequireされるライブラリ

rubygems

RubyGems を扱うためのクラスやモジュールが定義されているライブラリです。

rubygems/builder

(uninitialized)

rubygems/command

gem コマンドを扱うためのライブラリです。

rubygems/defaults

RubyGems ライブラリで使用するデフォルト値を返すメソッドを定義したライブラリです。

rubygems/dependency

Gem の依存関係を管理するためのライブラリです。

rubygems/exceptions

RubyGems で使用する例外クラスを定義したライブラリです。

rubygems/ext

拡張ライブラリをビルドするためのライブラリです。

rubygems/ext/builder

拡張ライブラリをビルドするためのクラスを扱うライブラリです。

rubygems/ext/configure_builder

configure スクリプトを元に拡張ライブラリをビルドするクラスを扱うライブラリです。

rubygems/ext/ext_conf_builder

extconf.rb を元にして拡張ライブラリをビルドするためのクラスを扱うライブラリです。

rubygems/ext/rake_builder

Rake を使用して拡張ライブラリをビルドするためのクラスを扱うライブラリです。

rubygems/format

(uninitialized)

rubygems/gem_path_searcher

(uninitialized)

rubygems/installer

RubyGems の Gem をインストールするためのライブラリです。

rubygems/platform

選択した Gem のインストールを実行できるプラットフォームのリストを扱うライブラリです。

rubygems/require_paths_builder

(uninitialized)

rubygems/requirement

Gem パッケージのバージョンに関する必須条件を扱うためのライブラリです。

rubygems/source_index

(uninitialized)

rubygems/user_interaction

ユーザとのやりとりを行うライブラリです。

rubygems/version

Gem パッケージのバージョンを扱うためのライブラリです。

rubygems/version_option

Gem::Command の --version, --platform オプションのためのモジュールを定義したライブラリです。