Whoa. Just got it working when I changed the code to:

--------
    sslSock.write(data + "\n")

    while line = sslSock.gets
      puts line
      success = true if line.chop == "DONE"
    end
--------


No idea why/how that fixed it, but thanks a ton!!!
-- 
Posted via http://www.ruby-forum.com/.