Gem 
top

list of installed gems

gem list

Install a specific version of gem

Use -v option with install command.

gem install ruby-debug-ide -v 0.3.4

Check gem version

gem -v

Install remotely

gem query -r -n typo (install it from a remote place)