From: Eric Hodel Date: 2007-01-31T18:28:46+09:00 Subject: Re: Rake GemPackageTask Suggestion On Jan 31, 2007, at 24:40, Trans wrote: > When using the GemPackageTask, one has to build the GemSpec in order > to define the task. For a large project and/or slow machine this > actualy can take a second or so. > > spec = Gem::Specification.new do |s| > s.files = FileList.new('**/*').to_a How many files do you have? I solve this by using a Manifest.txt, that way I know exactly what I want is included, and nothing I don't: s.files = File.read('Manifest.txt').split Plus the check_manifest task from Hoe to make sure everything is up- to-date.