A superb goal from Reece James was the difference as Rovers took all three points from Fratton Park.
The left-back played as part of a front three as Darren Moore enacted a different kind of game plan in response to injuries and a very direct approach from Portsmouth.
Rovers had dominated the early stages but as the match evened out, it took a magical moment from James to secure the win.