For me, the best ranger template is 3E/PF1. I can certainly entertain arguments on the execution, but the template of it as a class is sound. It has both general combat options, and flavor options. Fighting style, nature bond/animal companion, favored enemy/terrain, etc.. Compare it to the fighter that has no flavor in just about any edition, its leagues better.
The rub that a lot of folks seem to have is about the flavor. They want a more general class that is campaign proof. I mean, who can trust a GM to run a desert campaign and not immediately take the players to sea? Though, for me I loved the fact I could both mechanically focus on combat and exploration. That I could make 4,5,6,+ different types of rangers and they would be very different based on where in the setting they come from. Some of that is afforded with 3E/PF1's plethora of feat, archetype, prestige class options, but its still all there in the base class.