Stability Improvements to the Ruby Engines

We have shipped several improvements to improve the stability and reliability of the Ruby engines.