Is this gem installed?

Posted on by Tim Rosenblatt

Ever find yourself deep in some code, wishing that you could figure out if a gem was installed, without trying to call against it and deal with the ensuing nastyness? Here's how:

Thanks to rubygems-sing for the simple implementation.

 
comments powered by Disqus