gem uninstall <GEMNAME>
Uninstall gems from the local repository
Arguments
Options
Name | Description |
---|
-a, --all | Uninstall all matching versions |
-I, --ignore-dependencies | Ignore dependency requirements while uninstalling |
-D, --check-development | Check development dependencies while uninstalling (default: false) |
-x, --executables | Uninstall applicable executables without confirmation |
-i, --install-dir <DIR> | Directory to uninstall gem from |
-n, --bindir <DIR> | Directory to remove executables from |
--user-install | Uninstall from user’s home directory in addition to GEM_HOME |
--format-executable | Assume executable names match Ruby’s prefix and suffix |
--force | Uninstall all versions of the named gems ignoring dependencies |
--abort-on-dependent | Prevent 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 |
--vendor | Uninstall gem from the vendor directory. Only for use by gem repackagers |