Rangers kept in Celtic's slipstream - but only just - after Connor Goldson's late strike gave the disjointed Ibrox men a 2-1 win over Dundee at the Kilmac stadium.
Christie Elliott stunned the visitors when he headed the cinch Premiership's bottom side into the lead in the sixth minute, and the nervy champions failed to take advantage of a controversial penalty just before the break when captain James Tavernier hammered his spot-kick over the bar.
Aaron Ramsey levelled in the 65th minute with his first Rangers goal since signing on loan from Juventus in January, and with only four minutes of normal time remaining, defender Goldson forced in the dramatic winner to Light Blues' relief.