learning how to build ruby scripts