The MRI is, unfortunately, slow as balls, and there's not much you can
do. For computation-intensive tasks try JRuby or, well, a different
programmming language.

-- Matma Rex