ruby version hash upgrade fix