Ruby version of Dean Edwards' Packer