A late goal sees Hanover Harps through to take on Parkville United in the quarter-finals of the Evening Herald Carlow Shield.
In a scoreless first half, Hanover dominated the first quarter but found opportunities to score quite limited.
It was just on the half hour before either side made any impact on the game, with Adrian Brennan making two excellent saves for Rangers when Alan Shaw whipped in a corner and Colin Whelan got a glancing touch, then from a Mark Kelly header.
At the other end, a Damien Sheehan cross found Barry Amond who forced a good save from the Hanover 'keeper and shortly afterwards the stopper saved a Bobby Daly header.
On 42 minutes, Harps' Michael Corcoran skipped past his marker to for Brennan into another excellent save for Rangers.
Ridge came stronger into the game in the second half, dominating the early exchanges.
Ray Buggy should have scored following a Bobby Daly cross and Jim Dunne came close with a long-range effort.
Brennan was in action again for Rangers, making two good saves from Hanover's Phil Neenan and Mark Kelly.
However, Ridge broke the deadlock on 70 minutes; a ball was fed out of defence to Sean Dunne who crossed to set up Ray Buggy to score.
Within a couple of minutes Hanover were back on level terms, PJ Brennan was fouled and from the free-kick Paul Dowling's shot was headed home by Alan O'Brien.
Both sides had chances following that goal. Damien Sheehan's long-range effort was just off its target for Ridge while John Jones header for Harps was just over.
Hanover were now pushing hard to finish it off in normal time and on 87 minutes the winner arrived, a Neenan pile driver from the edge of the box forced a rebound off the Rangers 'keeper which fell to Harps Mark Kelly and for a left footed player he right footed a volley from eight yards giving Brennan no chance between the posts.
Colin Whelan, Alan Shaw Alan O'Brien and Trevor Webster were impressive for Hanover Harps. Playing well for Ridge Rangers were Conor McNally, Barry Amond and Gary Dunne.