On 05/15/2011 11:04 AM, Edward Thornton wrote:
> puts %x{"ps -ef"}

Too many quotes. Try this:

%x{ps -ef}

(Btw, it's probably a good idea to ask questions like this on ruby-talk.)