Migration to ruby 3