More ruby fixes.