add more tweaks for ruby