From: Dan Tenenbaum Date: 2006-09-02T04:23:21+09:00 Subject: Using rake package task- suppressing initial segment of path I have the following trivial bit of code, just to help me figure out how to create a more usable tarball: require 'rake/packagetask' Rake::PackageTask.new('WCV', :noversion) do |p| p.need_tar_gz = true p.package_files.include("README") end when I run "rake package", it creates a pkg directory and a tarball in that directory called "wcv.tar.gz". when I do "tar ztf pkg/wcv.tar.gz" I see this: wcv/ wcv/README 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 Can this be done? Thx -- Posted via http://www.ruby-forum.com/.