add ruby mode snippet