add ruby version builder pattern