Generate_yaml_index.rb


#1

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:inread’
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:ineach_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:ineach’
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:innew’
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:inbuild_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