Eric Raymond wrote about this, in relation to his reposurgeon project, here:
http://esr.ibiblio.org/?p=8161
Basically, what he found is that for programs that work with large graphs of objects (as opposed to arrays of numbers, which are the domain of numpy and friends), Python isn't all that fast. I don't know how it compares to Ruby though.