add ruby solution