Dan Tenenbaum wrote: [...] > I need for the initial "wcv" **not** to be included. > In other words, when I run "tar ztf pkg/wcv.tar.gz" I want to see: > README Yikes! I hate when packages dump their contained files intermingled with files in the current directory. That's why PackageTask does it that way it does. However, read on if you feel you have a legitimate need. > Can this be done? The package task does not do that, nor is there a straightforward way to configure it to do so. However ... The guts of the package task are not that complex. It is just running tar over the list of files it has collected. If you don't want to redo everything, you can let the package task build the directory and then just add your own task to build the tar file. Assume your project is myproj, version 1.2.3 Add this task: file "myproj-1.2.3.tgz" => "pkg/myproj-1.2.3" do chdir("pkg/pkg/myproj-1.2.3") do sh %{tar zcvf ../../myproj-1.2.3.tgz *} end end This will create a tgz file in the root of your project (rather than in the pkg directory like the package task does). Typing: rake myproj-1.2.3.tgz will do the trick. Does this help? -- Jim Weirich -- Posted via http://www.ruby-forum.com/.