use Gem::Specification.find_by_name instead of Gem.source_index for Ruby >= 2.0