ruby tuning