class Gem::Commands::GenerateIndexCommand

def description # :nodoc:

:nodoc:
def description # :nodoc:
  <<-EOF
e generate_index command creates a set of indexes for serving gems
atically.  The command expects a 'gems' directory under the path given to
e --directory option.  The given directory will be the directory you serve
 the gem repository.
r `gem generate_index --directory /path/to/repo`, expose /path/to/repo via
ur HTTP server configuration (not /path/to/repo/gems).
en done, it will generate a set of files like this:
gems/*.gem                                   # .gem files you want to
                                             # index
specs.<version>.gz                           # specs index
latest_specs.<version>.gz                    # latest specs index
prerelease_specs.<version>.gz                # prerelease specs index
quick/Marshal.<version>/<gemname>.gemspec.rz # Marshal quick index file
e .rz extension files are compressed with the inflate algorithm.
e Marshal version number comes from ruby's Marshal::MAJOR_VERSION and
rshal::MINOR_VERSION constants.  It is used to ensure compatibility.
  EOF
end