It depends on what you would like the ranger to be, as an archetype: D&D's ranger is basically Aragorn. If you'd like a Robin Hood kind of character, why not try a fighter with outlander or folk hero background and an appropriate choice of weapons and skills (bows, survival and so on..)?