The former Ibrox hero has put pen to paper on a short-term deal until the end of the season