upgrade ruby mode to fix 24.3.1 compatible issue