Installing Saruman - jasonayre/saruman GitHub Wiki
Make sure your system has ruby installed, if you're new to ruby, RVM is a great ruby tool and is highly recommended. Saruman has only been tested on ruby 1.9.2 but will likely be compatible with other versions. If there are bugs please report.
Installation
gem install saruman
You will now have the command saruman, which you can call in the directory of the Magento installation you would like to use the gem in.