[Rubygems-developers] [ rubygems-Bugs-26199 ] zlib buffer error during gem update in v1.3.4 on 64-bit Windows Vista

noreply at rubyforge.org noreply at rubyforge.org
Thu Jun 11 07:19:23 EDT 2009


Bugs item #26199, was opened at 2009-06-11 07:19
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=26199&group_id=126

Category: `gem` commands (other)
Group: v1.3.x
Status: Open
Resolution: None
Priority: 3
Submitted By: Robert Holt (bobholt)
Assigned to: Nobody (None)
Summary: zlib buffer error during gem update in v1.3.4 on 64-bit Windows Vista

Initial Comment:
I have had this error in both my manual installation of Ruby and Rails as well as the InstantRails implementation. 

C:\ruby\rails_apps>gem update --debug rails
Exception `NameError' at C:/ruby/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:161 - uninitialized constant Gem::Commands::UpdateCommand
Exception `Gem::LoadError' at C:/ruby/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:826 - Could not find RubyGem test-unit (>= 0)

Updating installed gems
Exception `Gem::LoadError' at C:/ruby/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:826 - RubyGem version error: sources(0.0.1 not > 0.0.1)

Exception `Zlib::BufError' at C:/ruby/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:577 - buffer error
ERROR:  While executing gem ... (Zlib::BufError)
    buffer error
        C:/ruby/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:577:in `read'
        C:/ruby/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:577:in `gunzip'
        C:/ruby/ruby/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:165:in `fetch_path'
        C:/ruby/ruby/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:212:in `load_specs'
        C:/ruby/ruby/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:191:in `list'
        C:/ruby/ruby/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:187:in `each'
        C:/ruby/ruby/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:187:in `list'
        C:/ruby/ruby/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:122:in `find_matching'
        C:/ruby/ruby/lib/ruby/site_ruby/1.8/rubygems/commands/update_command.rb:169:in `which_to_update'
        C:/ruby/ruby/lib/ruby/site_ruby/1.8/rubygems/commands/update_command.rb:161:in `each'
        C:/ruby/ruby/lib/ruby/site_ruby/1.8/rubygems/commands/update_command.rb:161:in `which_to_update'
        C:/ruby/ruby/lib/ruby/site_ruby/1.8/rubygems/commands/update_command.rb:75:in `execute'
        C:/ruby/ruby/lib/ruby/site_ruby/1.8/rubygems/command.rb:257:in `invoke'
        C:/ruby/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:132:in `process_args'
        C:/ruby/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:102:in `run'
        C:/ruby/ruby/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:58:in `run'
        C:/ruby/ruby/bin/gem:21
		
C:\ruby\rails_apps>gem env
RubyGems Environment:
  - RUBYGEMS VERSION: 1.3.4
  - RUBY VERSION: 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]
  - INSTALLATION DIRECTORY: C:/ruby/ruby/lib/ruby/gems/1.8
  - RUBY EXECUTABLE: C:/ruby/ruby/bin/ruby.exe
  - EXECUTABLE DIRECTORY: C:/ruby/ruby/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86-mswin32-60
  - GEM PATHS:
     - C:/ruby/ruby/lib/ruby/gems/1.8
     - C:/Users/bob/.gem/ruby/1.8
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - http://gems.rubyforge.org/

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=26199&group_id=126


More information about the Rubygems-developers mailing list