Trying to tease out STDIN/OUT interactivity for Ruby scripts