">> ruby code here" works now, if you load magic.sh.