Rgversion
This gem allow you to add to clipboard latest semantic versions of specified gems from terminal. Then you can past
them in your Gemfile or whatever you want. Giphy here.

Installation
gem install rgversion
macOS / OS X
No further actions required.
Ubuntu / Debian
You may need to install xclip for clipboard feature:
sudo apt-get install xclip
Usage
Open terminal and execute rgversion with list of needed gems. E.g:
rgversion rails puma pg
Then just past your clipboard to Gemfile.
License
Rgversion is released under the MIT License.