gem Command Examples

A package manager for the Ruby programming language. More information: https://guides.rubygems.org.

gem search {{regular_expression}} --all

gem install {{gem_name}}

gem install {{gem_name}} --version {{1.0.0}}

gem install {{gem_name}} --version '~> {{1.0}}'

gem update {{gem_name}}

gem list

gem uninstall {{gem_name}}

gem uninstall {{gem_name}} --version {{1.0.0}}