Because numerical processing is a major use case, Python has a number of techniques to easily speed up critical sections of code (numpy, cython, pypy).
Numpy is a dedicated library where the critical code is in C, but that's a library, hardly a language feature. I don't know if there is any numerical processing library in Ruby.
Cython is not intrinsic to Python either. I see there is a ruby2c gem, but I have no idea how it compares to Cython.
As for pypy, that's about switching to a different runtime, the same way Ruby people would go to JRuby.
None of this turns Ruby into apples and Python into oranges, I'm afraid.
I am not aware of comparable features in Ruby.