gem uninstall <GEMNAME>

Uninstall gems from the local repository

Arguments

NameDescription
GEMNAME

Options

NameDescription
-a, --allUninstall all matching versions
-I, --ignore-dependenciesIgnore dependency requirements while uninstalling
-D, --check-developmentCheck development dependencies while uninstalling (default: false)
-x, --executablesUninstall applicable executables without confirmation
-i, --install-dir <DIR>Directory to uninstall gem from
-n, --bindir <DIR>Directory to remove executables from
--user-installUninstall from user’s home directory in addition to GEM_HOME
--format-executableAssume executable names match Ruby’s prefix and suffix
--forceUninstall all versions of the named gems ignoring dependencies
--abort-on-dependentPrevent uninstalling gems that are depended on by other gems
-v, --version <VERSION>Specify version of gem to uninstall
--platform <PLATFORM>Specify the platform of gem to uninstall
--vendorUninstall gem from the vendor directory. Only for use by gem repackagers