upgrade Ruby version and gems