update ruby and rails versions to latest