There is a variant Ranger in the Complete Warrior. They do not get divine spells. They get Fast Movement at 6th level, Nature's Blessing at 11th level, Healing Touch at 13th level and Freedom of Movement at 16th level for compensation. There is are ranger variants in other sources like Iron Kingdoms. It does seem to me there was another official variant, but I can't think of it off the top of my head.