Improve ruby support.