add_marshal (Gem::Indexer::QuickIndexBuilder)

    # File lib/rubygems/indexer/quick_index_builder.rb, line 36
      def add_marshal(spec)
        # HACK why does this not work in #initialize?
        FileUtils.mkdir_p File.join(@directory, "Marshal.#{Gem.marshal_version}")

        fn = File.join @directory, "Marshal.#{Gem.marshal_version}",
                       "#{spec.original_name}.gemspec.rz"

        zipped = zip Marshal.dump(spec)
        File.open fn, "wb" do |gsfile| gsfile.write zipped end
      end