set ruby mode