Forum: Ruby generate_yaml_index.rb

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
2ea40766e41f97c620cefc388636414d?d=identicon&s=25 McDevitt, Chris (Guest)
on 2006-05-16 21:19
(Received via mailing list)
I am trying to set up a local gems server.  One of the steps is to
create a yaml file by running generate_yaml_index.rb. It's not working.
Anyone got any suggestions?

C:\WINDOWS>generate_yaml_index.rb -d C:\gems_home
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:348:in `read': buffer
error (
Zlib::BufError)
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:348:in
`read'
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/format.rb:58:in
`from_io'
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:445:in
`each_ent
ry'
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:439:in
`each_ent
ry'
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:424:in
`each'
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:593:in
`each'
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:411:in
`new'
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:592:in
`each'
         ... 10 levels...
        from c:/ruby/bin/generate_yaml_index.rb:36:in
`build_uncompressed_index'

        from c:/ruby/bin/generate_yaml_index.rb:33:in
`build_uncompressed_index'

        from c:/ruby/bin/generate_yaml_index.rb:27:in `build_index'
        from c:/ruby/bin/generate_yaml_index.rb:78
This topic is locked and can not be replied to.