method
description
v2_6_3 -
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 39 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 fileThe .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. end