!RBIX
2138443229280315561
x
M
1
n
n
x
10
__script__
i
55
5
7
0
64
47
49
1
1
15
5
7
2
64
47
49
1
1
15
99
7
3
45
4
5
43
6
45
4
7
43
8
49
9
3
13
99
12
7
10
12
7
11
12
65
12
49
12
4
15
49
10
0
15
2
11
I
6
I
0
I
0
I
0
n
p
13
s
16
rubygems/command
x
7
require
s
16
rubygems/indexer
x
20
GenerateIndexCommand
x
3
Gem
n
x
7
Command
n
x
8
Commands
x
16
open_class_under
x
14
__class_init__
M
1
n
n
x
20
GenerateIndexCommand
i
58
5
66
99
7
0
7
1
65
67
49
2
0
49
3
4
15
99
7
4
7
5
65
67
49
2
0
49
3
4
15
99
7
6
7
7
65
67
49
2
0
49
3
4
15
99
7
8
7
9
65
67
49
2
0
49
3
4
11
I
5
I
0
I
0
I
0
n
p
10
x
10
initialize
M
1
n
n
x
10
initialize
i
164
7
0
64
7
1
64
44
43
2
4
3
49
3
1
13
7
4
7
5
64
49
6
2
15
13
7
7
2
49
6
2
15
13
7
8
2
49
6
2
15
54
52
9
3
15
5
7
10
64
7
11
64
7
12
64
56
13
47
50
14
3
15
5
7
15
64
7
16
64
56
17
47
50
14
2
15
5
7
18
64
7
19
64
7
20
64
56
21
47
50
14
3
15
5
7
22
64
7
23
64
7
24
64
56
25
47
50
14
3
15
5
7
26
7
27
64
7
28
64
7
29
64
56
30
47
50
14
4
15
5
7
26
7
31
64
7
32
64
7
33
64
56
34
47
50
14
4
15
5
7
26
7
35
64
7
36
64
56
37
47
50
14
3
11
I
6
I
0
I
0
I
0
n
p
38
s
14
generate_index
s
52
Generates the index files for a gem server directory
x
4
Hash
x
16
new_from_literal
x
9
directory
s
1
.
x
3
[]=
x
12
build_legacy
x
12
build_modern
x
10
initialize
s
2
-d
s
19
--directory=DIRNAME
s
42
repository base dir containing gems subdir
M
1
p
2
x
9
for_block
t
n
x
10
initialize
i
30
58
37
19
0
15
37
19
1
15
15
20
1
7
0
45
1
2
20
0
49
3
1
13
18
3
49
4
2
15
11
I
7
I
2
I
2
I
2
n
p
5
x
9
directory
x
4
File
n
x
11
expand_path
x
3
[]=
p
7
I
0
I
10
I
2
I
11
I
a
I
12
I
1e
x
47
lib/rubygems/commands/generate_index_command.rb
p
2
x
3
dir
x
7
options
x
10
add_option
s
13
--[no-]legacy
s
20
Generate Marshal.4.8
M
1
p
2
x
9
for_block
t
n
x
10
initialize
i
56
58
37
19
0
15
37
19
1
15
15
20
1
7
0
49
1
1
13
10
23
15
20
0
9
28
1
8
41
5
45
2
3
43
4
7
5
64
47
49
6
2
15
20
1
7
7
20
0
13
18
3
49
8
2
15
11
I
7
I
2
I
2
I
2
n
p
9
x
12
build_modern
x
2
[]
x
12
OptionParser
n
x
13
InvalidOption
s
25
no indicies will be built
x
5
raise
x
12
build_legacy
x
3
[]=
p
13
I
0
I
15
I
2
I
16
I
a
I
17
I
1c
I
18
I
29
I
0
I
2a
I
1b
I
38
x
47
lib/rubygems/commands/generate_index_command.rb
p
2
x
5
value
x
7
options
s
13
--[no-]modern
s
35
Generate indexes for RubyGems newer
s
10
than 1.2.0
M
1
p
2
x
9
for_block
t
n
x
10
initialize
i
56
58
37
19
0
15
37
19
1
15
15
20
1
7
0
49
1
1
13
10
23
15
20
0
9
28
1
8
41
5
45
2
3
43
4
7
5
64
47
49
6
2
15
20
1
7
7
20
0
13
18
3
49
8
2
15
11
I
7
I
2
I
2
I
2
n
p
9
x
12
build_legacy
x
2
[]
x
12
OptionParser
n
x
13
InvalidOption
s
25
no indicies will be built
x
5
raise
x
12
build_modern
x
3
[]=
p
13
I
0
I
1e
I
2
I
20
I
a
I
21
I
1c
I
22
I
29
I
0
I
2a
I
25
I
38
x
47
lib/rubygems/commands/generate_index_command.rb
p
2
x
5
value
x
7
options
s
8
--update
s
37
Update modern indexes with gems added
s
21
since the last update
M
1
p
2
x
9
for_block
t
n
x
10
initialize
i
24
58
37
19
0
15
37
19
1
15
15
20
1
7
0
20
0
13
18
3
49
1
2
15
11
I
7
I
2
I
2
I
2
n
p
2
x
6
update
x
3
[]=
p
7
I
0
I
28
I
2
I
2a
I
a
I
2b
I
18
x
47
lib/rubygems/commands/generate_index_command.rb
p
2
x
5
value
x
7
options
x
3
RSS
s
24
--rss-gems-host=GEM_HOST
s
37
Host name where gems are served from,
s
34
used for GUID and enclosure values
M
1
p
2
x
9
for_block
t
n
x
10
initialize
i
24
58
37
19
0
15
37
19
1
15
15
20
1
7
0
20
0
13
18
3
49
1
2
15
11
I
7
I
2
I
2
I
2
n
p
2
x
13
rss_gems_host
x
3
[]=
p
7
I
0
I
2e
I
2
I
30
I
a
I
31
I
18
x
47
lib/rubygems/commands/generate_index_command.rb
p
2
x
5
value
x
7
options
s
15
--rss-host=HOST
s
36
Host name for more gems information,
s
22
used for RSS feed link
M
1
p
2
x
9
for_block
t
n
x
10
initialize
i
24
58
37
19
0
15
37
19
1
15
15
20
1
7
0
20
0
13
18
3
49
1
2
15
11
I
7
I
2
I
2
I
2
n
p
2
x
8
rss_host
x
3
[]=
p
7
I
0
I
34
I
2
I
36
I
a
I
37
I
18
x
47
lib/rubygems/commands/generate_index_command.rb
p
2
x
5
value
x
7
options
s
17
--rss-title=TITLE
s
22
Set title for RSS feed
M
1
p
2
x
9
for_block
t
n
x
10
initialize
i
24
58
37
19
0
15
37
19
1
15
15
20
1
7
0
20
0
13
18
3
49
1
2
15
11
I
7
I
2
I
2
I
2
n
p
2
x
9
rss_title
x
3
[]=
p
7
I
0
I
3a
I
2
I
3b
I
a
I
3c
I
18
x
47
lib/rubygems/commands/generate_index_command.rb
p
2
x
5
value
x
7
options
p
59
I
-1
I
b
I
0
I
c
I
3
I
d
I
6
I
e
I
2d
I
10
I
34
I
11
I
37
I
10
I
3e
I
15
I
42
I
16
I
45
I
15
I
4c
I
1e
I
50
I
1f
I
53
I
20
I
56
I
1e
I
5d
I
28
I
61
I
29
I
64
I
2a
I
67
I
28
I
6e
I
2e
I
74
I
2f
I
77
I
30
I
7a
I
2e
I
81
I
34
I
87
I
35
I
8a
I
36
I
8d
I
34
I
94
I
3a
I
9a
I
3b
I
9d
I
3a
I
a4
x
47
lib/rubygems/commands/generate_index_command.rb
p
0
x
17
method_visibility
x
15
add_defn_method
x
12
defaults_str
M
1
n
n
x
12
defaults_str
i
4
7
0
64
11
I
1
I
0
I
0
I
0
n
p
1
s
31
--directory . --legacy --modern
p
5
I
-1
I
40
I
0
I
41
I
4
x
47
lib/rubygems/commands/generate_index_command.rb
p
0
x
11
description
M
1
n
n
x
11
description
i
4
7
0
64
11
I
1
I
0
I
0
I
0
n
p
1
s
1320
The generate_index command creates a set of indexes for serving gems
statically.  The command expects a 'gems' directory under the path given to
the --directory option.  The given directory will be the directory you serve
as the gem repository.

For `gem generate_index --directory /path/to/repo`, expose /path/to/repo via
your 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 index

The .Z and .rz extension files are compressed with the inflate algorithm.
The Marshal version number comes from ruby's Marshal::MAJOR_VERSION and
Marshal::MINOR_VERSION constants.  It is used to ensure compatibility.

If --rss-host and --rss-gem-host are given an RSS feed will be generated at
index.rss containing gems released in the last two days.

p
5
I
-1
I
44
I
0
I
45
I
4
x
47
lib/rubygems/commands/generate_index_command.rb
p
0
x
7
execute
M
1
n
n
x
7
execute
i
199
5
48
0
7
1
49
2
1
13
9
32
15
5
48
0
7
3
49
2
1
13
10
32
15
5
48
0
7
4
49
2
1
9
51
5
7
5
64
47
49
6
1
15
5
79
47
49
7
1
8
52
1
15
45
8
9
5
48
0
7
10
49
2
1
49
11
1
10
72
2
8
73
3
13
10
97
15
45
8
12
5
48
0
7
10
49
2
1
49
13
1
10
96
2
8
97
3
9
125
5
7
14
5
48
10
47
101
15
7
16
63
3
47
49
6
1
15
5
79
47
49
7
1
8
198
45
17
18
43
19
13
71
20
47
9
159
47
49
21
0
13
5
48
0
7
10
49
22
1
5
48
0
47
49
23
2
15
8
173
5
48
0
7
10
49
22
1
5
48
0
49
20
2
19
0
15
5
48
0
7
1
49
2
1
9
193
20
0
49
24
0
8
198
20
0
49
25
0
11
I
5
I
1
I
0
I
0
n
p
26
x
7
options
x
6
update
x
2
[]
x
8
rss_host
x
13
rss_gems_host
s
43
--update not compatible with RSS generation
x
11
alert_error
x
21
terminate_interaction
x
4
File
n
x
9
directory
x
6
exist?
n
x
10
directory?
s
23
unknown directory name 
x
4
to_s
s
1
.
x
3
Gem
n
x
7
Indexer
x
3
new
x
8
allocate
x
6
delete
x
10
initialize
x
12
update_index
x
14
generate_index
p
33
I
-1
I
65
I
0
I
66
I
c
I
67
I
22
I
68
I
2b
I
69
I
33
I
67
I
34
I
0
I
35
I
6c
I
4d
I
6d
I
63
I
6e
I
75
I
6f
I
7d
I
71
I
b0
I
73
I
ba
I
74
I
c1
I
76
I
c6
I
0
I
c7
x
47
lib/rubygems/commands/generate_index_command.rb
p
1
x
7
indexer
p
9
I
2
I
b
I
10
I
40
I
1e
I
44
I
2c
I
65
I
3a
x
47
lib/rubygems/commands/generate_index_command.rb
p
0
x
13
attach_method
p
7
I
0
I
1
I
9
I
2
I
12
I
9
I
37
x
47
lib/rubygems/commands/generate_index_command.rb
p
0
