Goals late in either half from Leon Knight and Curtis Allen earned Coleraine victory over struggling Carrick in Friday's Premiership clash.
Kevin Lynch hit the Coleraine woodwork in the first half while Carrick's Paul Heatley was denied by Michael Doherty.
Knight poked Coleraine ahead in first-half injury-time from close range.
After Carrick keeper Declan Browne had denied Johnny Black, Anthony Lagan almost levelled for Rangers late on before Allen's last-gasp goal.
Browne saved Black's 65th-minute free-kick while Lagan headed wide in the closing seconds of normal time.
Allen then finished off a sweeping Coleraine move in the second minute of injury-time to seal the Bannsiders' victory.
Carrick, after their 7-0 League Cup hammering by Crusaders on Wednesday, made a promising start and Heatley had only Michael Doherty to beat in the 21st minute after being put through but the Coleraine keeper made the save.
Lynch then rattled the Coleraine woodwork on 30 minutes but Knight's goal turned the match in the Bannsiders' favour.
Coleraine's win moves them up to fifth in the table above Crusaders while Carrick remain very much in the relegation zone in 10th place - only three points ahead of bottom club Glenavon and with a significantly worse goal difference.