The hosts had lost their last five league outings but picked up their second win of the campaign after Brian Allison grabbed the only goal of the game on nine minutes courtesy of some awful visiting defending.
Having struggled on the road so far this season, this was the match which appeared destined to provide Rangers with their elusive first away win in the league.
"I’ve had painful defeats before but that’s certainly very painful," said manager Ally McCoist.
“As disappointed as I am, and I am bitterly disappointed, it’s not the end of the world because we get the sleeves rolled up and come out of it the other side.
“The players are disappointed too, as they should be, but we will bounce back from this, no doubt.
“I felt we created numerous chances but didn’t take them. When we don’t take our chances we run the risk of being punished and that’s what happened today.
“We had some fantastic chances in the second half as well but when you don’t take them you get punished and we didn’t do it in either half.
McCoist's men faced a side rooted to the bottom of the table, whose manager Greig McDonald was absent from the dugout to attend his own wedding.
McDonald said before the game: "My wedding was arranged a long time ago and it's not affected our preparations as it has been a lot easier to find out information on Rangers than it was on last week's Scottish Cup opponents Dalbeattie Star."
Rangers, 54-times Scottish champions, were forced to relaunch in the bottom rung of Scottish football after collapsing under crippling debts.
They are overwhelming favourites to win promotion but have slipped to third in the table after an underwhelming start that has included three league draws to add to Saturday's defeat.
- Sports & Recreation