From: Ryan Davis Date: 2011-07-23T07:18:21+09:00 Subject: Re: What's up with "Dir.glob"? On Jul 22, 2011, at 12:22 , Peter Bailey wrote: > Dir.glob("{wdp*.pdf,wrr*.pdf,wip*.pdf,wsl*.pdf,wcr*.pdf}").each do This doesn't address your issue, but I thought I'd point out that you might rather have: Dir.glob("{wdp,wrr,wip,wsl,wcr}*.pdf") or even: Dir.glob("w{dp,rr,ip,sl,cr}*.pdf") I can't see anything wrong with your original code tho... so yeah, I'd prolly guess name casing as well.