How to install the Ruby Gem rack-gen with the CLI

By Where is my Ruby Gem

Ruby
Gem
rack-gen

Run the command below to install the gem in the local repository.

gem install rack-gen