Those cup wins were by 2-1 away in February 2015 and 1-0 at home in April 2014.
Here’s how their last nine meetings went ...
5. Raith v Rangers
April 12, 2015, Scottish Championship: Rangers 4, Raith Rovers 0
Rangers' Robbie Crawford sliding in on Raith's Grant Anderson at Glasgow's Ibrox Stadium. The hosts' scorers were Nicky Law twice, Haris Vuckic and Nicky Clark (Pic: SNS Group/Rob Casey) Photo: SNS Group/Rob Casey
6. Raith v Rangers
February 20, 2015, Scottish Championship: Raith Rovers 1, Rangers 2
Rangers' Nicky Clark challenging Raith goal-scorer Ryan Conroy in Kirkcaldy. Andrew Murdoch and Kris Boyd scored for the visitors (Pic: SNS Group/Rob Casey) Photo: SNS Group/Rob Casey
7. Raith v Rangers
February 8, 2015, Scottish Cup: Rangers 1, Raith Rovers 2
Ryan Conroy celebrating scoring for Raith Rovers during their Scottish Cup fifth-round victory against Rangers at Glasgow's Ibrox Stadium in February 2015 (Pic: Mark Runnacles/Getty Images) Photo: Mark Runnacles
8. Raith v Rangers
October 18, 2014, Scottish Championship: Rangers 6, Raith Rovers 1
Martin Scott celebrating scoring Raith's only goal in Glasgow. Jon Daly twice, Kris Boyd, Kenny Miller, Nicky Law and Lee McCulloch netted for the hosts (Pic: SNS Group/Rob Casey) Photo: SNS Group/Rob Casey