use Specification if Gem.respond_to has been removed