ruby version subscript with updates -- fixed errors