Adding diagnostics posted to gist to debug out of memory

 cmd was not pushed to gist...trying xith IO.popen