RubyGems is a package manager for Ruby libraries and tools. It lets you install, manage, and use third-party libraries called 'gems'.
Use the gem install command in your terminal:
gem install
Once installed, require it in your Ruby script:
gem list