remove extra ruby version, fix #2849, fix #2848