As far as I have oberseved, Python is more widely used than Ruby as a scientific tool.
The reasons are great libraries like numpy, scipy and sympy (for symbolic expressions). Also, I think the standard library of Python is better designed more consistent.