From: Roeland Moors Date: 2004-08-25T20:14:21+09:00 Subject: rake prepare gem I'm using rake to create a gem, but I have some questions. Before creating a gem in Rake i would like to copy some files to a different directory and then create the package. I tried something like this: task :gem => [:prepare_gem] task :prepare_gem do # do stuff here gem_task.gem_spec.files = files.to_a end But the problem is that the prepare_gem is executed AFTER the gem task. Is this normal? -- Roeland