Hello Guys,

I'm still getting the following errors on Windows. These came from gem
commands 'update' and 'install', but both end in the same place of the
"from_yaml" and normalize_yaml_input:

  1) Error:
test_execute_remote(TestGemCommandsInstallCommand):
NoMethodError: undefined method `size' for nil:NilClass
    ./lib/rubygems/package/tar_reader/entry.rb:84:in `read'
    ./lib/rubygems/specification.rb:609:in `normalize_yaml_input'
    ./lib/rubygems/specification.rb:575:in `from_yaml'
    ./lib/rubygems/package/tar_input.rb:184:in `load_gemspec'
    ./lib/rubygems/package/tar_input.rb:52:in `initialize'
    ./lib/rubygems/package/tar_reader.rb:46:in `each'
    ./lib/rubygems/package/tar_reader.rb:37:in `loop'
    ./lib/rubygems/package/tar_reader.rb:37:in `each'
    ./lib/rubygems/package/tar_input.rb:33:in `initialize'
    ./lib/rubygems/package/tar_input.rb:18:in `new'
    ./lib/rubygems/package/tar_input.rb:18:in `open'
    ./lib/rubygems/package.rb:56:in `open'
    ./lib/rubygems/format.rb:67:in `from_io'
    ./lib/rubygems/format.rb:51:in `from_file_by_path'
    C:/Ruby/lib/ruby/1.8/open-uri.rb:32:in `open_uri_original_open'
    C:/Ruby/lib/ruby/1.8/open-uri.rb:32:in `open'
    ./lib/rubygems/format.rb:50:in `from_file_by_path'
    ./lib/rubygems/installer.rb:81:in `initialize'
    ./lib/rubygems/dependency_installer.rb:194:in `new'
    ./lib/rubygems/dependency_installer.rb:194:in `install'
    ./lib/rubygems/dependency_installer.rb:183:in `each'
    ./lib/rubygems/dependency_installer.rb:183:in `install'
    ./lib/rubygems/commands/install_command.rb:73:in `execute'
    ./lib/rubygems/commands/install_command.rb:70:in `each'
    ./lib/rubygems/commands/install_command.rb:70:in `execute'
    ./test/test_gem_commands_install_command.rb:119:in `test_execute_remote'
    ./lib/rubygems/user_interaction.rb:45:in `use_ui'
    ./lib/rubygems/user_interaction.rb:27:in `use_ui'
    ./test/test_gem_commands_install_command.rb:118:in `test_execute_remote'

===

I exposed this on a previous message, but no one answered.

To quote myself:

"Errors 1 and 3 are related to tar_input trying to get #size from a
#read operation over the IO, which returned nil since readed
information was greater than header size:

lib/rubygems/package/tar_reader/entry.rb:78 (#read):

   return nil if @read >= @header.size


But I cannot determine exactly why this is happening (at least, why
this happens on Windows).
"

Any ideas?

-- 
Luis Lavena
Multimedia systems
-
Human beings, who are almost unique in having the ability to learn from
the experience of others, are also remarkable for their apparent
disinclination to do so.
Douglas Adams
_______________________________________________
Rubygems-developers mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rubygems-developers

Reply via email to