On Tue, Mar 25, 2008 at 6:43 PM, Eric Hodel <[EMAIL PROTECTED]> wrote: > On Mar 22, 2008, at 08:32 AM, Luis Lavena wrote: > > 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' > > [...] > > > > > === > > > > 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? > > It sounds like the gem being extracted has been built wrong. >
Yes, I was thinkint the same, but couldn't find where the generated gem is being generated wrongly. > When will you be online next so we can confer? > I'll be tomorrow all afternoon (is 10.30pm here now). > I've finished up the index update changes that were in my tree, so I > think this is our last thing to fix. Since I'm the move from MSVC to MinGW for One-Click Installer is mor ea reality now than before [1], I'm testing it against these two platform and report back the current status. Regards, [1] http://blog.mmediasys.com/2008/03/24/great-news-from-a-happy-hacking-weekend/ -- 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
