Change parser_factory to use Gem.find_by_name? to fix compatibility with Ruby 2.0.0