upgrade ruby and rails version, and other gems