Is there a way to check if some gem is currently installed, via the Gem module? From ruby code, not by executing \'gem list\'...
To clarify - I don\'t want to load t
Didn't see this anywhere here, but you can also pass fuzzy version strings to find_by_name and find_all_by_name:
find_by_name
find_all_by_name
Gem::Specification.find_all_by_name('gemname', '>= 4.0').any?