David Templeton spared Rangers' blushes with a late strike to earn a 1-1 draw with Alloa in the Scottish Championship.
Inverness moved top of the Scottish Premiership after beating St Johnstone, while Hamilton were held and Aberdeen won.
Aberdeen produced a fine display of attacking football as they eased to a 3-0 win over Ross County.
Inverness claimed top spot in the Scottish Premiership with a 2-1 win over St Johnstone at Caledonian Stadium.
Hamilton drew 0-0 at home to Kilmarnock to drop into second place in the Scottish Premiership.