Fix ruby version conditional