Remove an installed Ruby gem

August 9, 2022  ‐ 1 min read

To install a gem from RubyGems we can use the install subcommand. To remove a previously installed gem again we can use the uninstall subcommand.

$ gem uninstall foo

To list all the available gem commands we can use:

$ gem help commands