Updates ruby and rails versions