Upgrade ruby and rails version