Remove all installed Ruby Gems.
This one liner will remove all of the installed gems on your systems, including all versions.
for gem in `gem list | awk '{print $1}'` ; do gem uninstall $gem -aix 2> /dev/null ; done
This one liner will remove all of the installed gems on your systems, including all versions.