I think I found it:
------------------------
       if answer == "n"
       puts "Process aborted by user."
       exit
       END -> this one was at the bottom instead of here
       else

-----------------------------


Any other mistakes I've made?

regards,
seba

-- 
Posted via http://www.ruby-forum.com/.