method
description
v1_9_3_125 -
Show latest stable
-
0 notes -
Class: GenerateIndexCommand
- 1_8_6_287
- 1_8_7_72
- 1_8_7_330
- 1_9_1_378
- 1_9_2_180
- 1_9_3_125 (0)
- 1_9_3_392 (0)
- 2_1_10 (0)
- 2_2_9 (0)
- 2_4_6 (0)
- 2_5_5 (0)
- 2_6_3 (0)
- What's this?
description()
public
Hide source
# 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