gem pristine [GEMNAME]

Restores installed gems to pristine condition from files located in the gem cache

Arguments

NameDescription
GEMNAMEName of the gem to print information about

Options

NameDescription
--allRestore all installed gems to pristine condition
--skip <GEMNAME>Restore all installed gems to pristine condition
--extensionsRestore gems with extensions in addition to regular gems
--no-extensionsDo not restore gems with extensions in addition to regular gems
--only-executablesOnly restore executables
--only-pluginsOnly restore plugins
-E, --env-shebangRewrite executables with a shebang of /usr/bin/env
--no-env-shebangDo not rewrite executables with a shebang of /usr/bin/env
-i, --install-dir <DIR>Gem repository to get binstubs and plugins installed
-n, --bindir <DIR>Directory where executables are located
-v, --version <VERSION>Specify version of gem to restore to pristine condition