Interact with the package manager for the Ruby programming language.
# To search for remote gem(s):
gem search <regexp>
# To search for remote gem(s) and show all available versions:
gem search <regexp> --all
# To install latest version of a gem:
gem install <gemname>
# To install specific version of a gem:
gem install <gemname> --version <1.0.0>
# To update a gem:
gem update <gemname>
# To list all local gems:
gem list
# To uninstall a gem:
gem uninstall <gemname>
# To uninstall specific version of a gem:
gem uninstall <gemname> --version <1.0.0>