Source?
My understanding was that before Rails, Ruby was considered primarily a language used for mathematics. Anecdotally, it does seem that I see a lot of stories about using python for statistics, but I haven't seen any hard numbers one way or the other.
Python seems to also have a lot of web implementations. I'm not sure where you are getting your numbers from.