Rangers come close to tasting victory