method
description

v2_2_9 -
Show latest stable
-
0 notes -
Class: PristineCommand
- 1_8_6_287
- 1_8_7_72
- 1_8_7_330
- 1_9_1_378
- 1_9_2_180
- 1_9_3_125 (0)
- 1_9_3_392 (0)
- 2_1_10 (0)
- 2_2_9 (0)
- 2_4_6 (0)
- 2_5_5 (0)
- 2_6_3 (0)
- What's this?
description()
public
Hide source
# File lib/rubygems/commands/pristine_command.rb, line 53 def description # :nodoc: The pristine command compares an installed gem with the contents of itscached .gem file and restores any files that don't match the cached .gem'scopy.If you have made modifications to an installed gem, the pristine commandwill revert them. All extensions are rebuilt and all bin stubs for the gemare regenerated after checking for modifications.If the cached gem cannot be found it will be downloaded.If --no-extensions is provided pristine will not attempt to restore a gemwith an extension.If --extensions is given (but not --all or gem names) only gems withextensions will be restored. end