Jeff Cohen wrote: > You're missing a closing quote in the last value of the hash: > >> :wh650b1p => 'lrr000', :wh650b2p => 'lrr000 } > > should be : > > :wh650b1p => 'lrr000', :wh650b2p => 'lrr000' } > > Jeff > softiesonrails.com Thanks, Jeff. I did find that problem already and I fixed it. I also had a typo in filehash.each. It should be fileshash.each. Fixed that, too. But, anyway, it still ain't working. I'm getting the following error: test2.rb:9: parse error, unexpected kEND, expecting $ where line 9 is now the last line of the script, the "end" line. -- Posted via http://www.ruby-forum.com/.