I am finding an automation testing tool to test a non-GUI installer which is written in Ruby or power script. The automation tool should work on both windows and Mac machines.
The classic tool for testing of interative non-GUI applications is called
expect. It comes from the Tcl world but Ruby equivalents are available as well: