I would like to make my Rakefile be able to create multiple packages and
these packages I need them to be created relative to a subdirectory so
the zip, tgz, and gem contain everything at the right level. See my
I have considered two ways to do this but am looking for the best way.
- change directory before packaging (but then one has to reset the
directory and build the file lists in the right dir, etc.)
- use multiple rake files and have the main one call them
So here is an example
I want to build something out of foo and I want to build something out
bar and baz such that the files in the zip, tgz, and gem are relative to
or baz. So that in the gem cat.txt would be stored at the main level
of the bar.gem. Same thing for dog.txt it would be stored in baz gem at
root of that gem.
Or if anyone has a better idea.