Use Dir.glob(), don't require rubygems or rake, use Dir.chdir as a block