ruby stdout & stderr sync