add ruby to code