It's easy if you know what you're doing. Just kill off 2 characters before the battle and leave Cloud alive. Use materia to get his HP to 9999. Use W-Summon and summon KotR and keep miming it. Pair KotR with HP Absorb so that you heal your HP back to 9999 after Ruby counter-attacks KotR. Just keep repeating and it'll eventually die, although it'll take a while since the KotR animation is so long.
I think you can also use Quadra Magic with Bahamut Zero to avoid Ruby's counter-attack but I've never done it that way. KotR's animation may be long, but the damage is a lot more than Bahamut Zero's 9999.