add ruby and rails modes