imeyer/chef-handler-graphite — pull request #2 by cgriego (2012-04-19 21:11:08+00:00)
Title: Rubygems 1.3.7 compatibility

Opscode's Omnibus Chef full stack installer embeds Rubygems 1.3.7, which doesn't have `Gem::Specification.find_by_name` so chef-handler-graphite doesn't currently work with it.

This patch falls back to the older, deprecated method when the newer method doesn't exist.