But Ruby didn’t know anything, so it was OK to let him live.
Oswald was the one who had to go.
But Ruby knows that Oswald knows that Ruby knows that Oswald knows.
So its completely irrational to let him die in prison and be able to tell anyone he knows about what Oswald knows about he knows that Ruby knows that Oswald knows.