module RSpec::Support::ShellOut

def shell_out(*command)

1.9+
def shell_out(*command)
  stdout, stderr, status = Open3.capture3(*command)
  return stdout, filter(stderr), status
end