Gem Facts

gem_packages

host.fact.gem_packages

Returns a dict of installed gem packages:

{
    'package_name': ['version'],
}