        # File lib/rake/gempackagetask.rb, line 73
    73:     def define
    74:       super
    75:       task :package => [:gem]
    76:       desc "Build the gem file #{gem_file}"
    77:       task :gem => ["#{package_dir}/#{gem_file}"]
    78:       file "#{package_dir}/#{gem_file}" => [package_dir] + @gem_spec.files do
    79:         when_writing("Creating GEM") {
    80:           Gem::Builder.new(gem_spec).build
    81:           verbose(true) {
    82:             mv gem_file, "#{package_dir}/#{gem_file}"
    83:           }
    84:         }
    85:       end
    86:     end