List RubyGems binary version for all installed Ruby versions

Updated . Posted . Visible to the public.

rbenv

To check which rubygems versions your different rbenv rubys are using, you can use this small bash script:

for i in $(rbenv versions --bare); do rbenv shell "${i}"; echo -n "ruby ${i} has gem version: "; gem -v; done

RVM

rvm all do gem -v
Last edit
Arne Hartherz
License
Source code in this card is licensed under the MIT License.
Posted by Kim Klotz to makandra dev (2015-08-19 09:23)