method
description
v1_9_3_125 -
Show latest stable
- Class:
Gem::Commands::GenerateIndexCommand
description()public
No documentation available.
# File lib/rubygems/commands/generate_index_command.rb, line 68
def description # :nodoc:
The generate_index command creates a set of indexes for serving gemsstatically. The command expects a 'gems' directory under the path given tothe --directory option. The given directory will be the directory you serveas the gem repository.For `gem generate_index --directory /path/to/repo`, expose /path/to/repo viayour HTTP server configuration (not /path/to/repo/gems).When 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 # these files support legacy RubyGems Marshal.<version> Marshal.<version>.Z # Marshal full indexThe .Z and .rz extension files are compressed with the inflate algorithm.The Marshal version number comes from ruby's Marshal::MAJOR_VERSION andMarshal::MINOR_VERSION constants. It is used to ensure compatibility.If --rss-host and --rss-gem-host are given an RSS feed will be generated atindex.rss containing gems released in the last two days.
end