Only time a ranger may beat a rogue in dps is if they are both bazaar geared. EP bows are easy to attain and give a solid dps to ranger, if he has the requisite AA. After that, from EP to Time to Qvic to Tacvi to Anguish, a similar geared rogue will beat the shit out of a ranger in terms of DPS. Even though Trueshot puts out solid dps, bows have not scaled up much beyond the EP bows, where rogues weapons have made sick jumps.
Only situation that a ranger would outdps a rogue is in a fight where the AE dictates a ranged fight. Even than most often people use group healers, Cel Regen/Rejuv, and Spirit of Wood to combat it, so rogue will stay in melee range most of the time there too.