From: Charles Caldwell Date: 2013-01-29T01:01:18+09:00 Subject: Re: Can we attach documents to excel columns using Ruby? It appears that you are passing in '.' and '..' into your Dir.entries block. That would cause the error you are getting. Try skipping those two entries at the beginning of your block or use Dir#glob which does not capture '.' and '..' -- Posted via http://www.ruby-forum.com/.