|
|
|
Basically if you keep trying the problem goes away, usually the second time, but in this case, the third time.
Charles said on mailing list: "Ola and I were talking and thought it would be worth hooking this
particular error and running an install/uninstall cycle until it happens again, so we can get a decent trace. My theory is that it's something in RubyGems or in a core library that makes assumptions about how the interpreter works. Since it's intermittent, signs point toward threading, where we're quite a bit different from Ruby because of our unpredictable scheduler (whatever the OS provides). Ruby would see issues infrequently because their scheduler is more predictable...but not 100% predictable. " This could well be a general ruby/gem bug: google for "ERROR: While executing gem ... (NoMethodError) and you get 850 results Typical example is : http://www.vmunix.com/mark/blog/archives/2006/04/08/ruby-gems-still-doesnt-work-on-104/ which shows the same symptoms. Attaching patch that replicates rubygems fix for this problem.
I've had to extend the rubygems solution a small amount because otherwise we get some further errors (100% of the time) due to some flakey gemspecs out in the wild interracting with our divergent marshalling behaviour and the hash / equals methods of certain gem objects. Specifics of the problem (from email to mailing list): So this is an odd situation: we're committing a change based on what will be in the next RubyGems release, but we don't have that release to include with 0.9.1. However since it technically is fixed with this patch in our dist, we'll mark it as fixed now. It's a standing item to keep up-to-date with RubyGems, so we'll just cover that as its own task.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
C:\dev\jruby\antbuilder>gem list --remote AntBuilder *** REMOTE GEMS *** Bulk updating Gem source index for: http://gems.rubyforge.org ERROR: While executing gem ... (NoMethodError) undefined method `name' for 4.4.1:Gem::Version C:\dev\jruby\antbuilder>gem list --remote AntBuilder *** REMOTE GEMS *** Bulk updating Gem source index for: http://gems.rubyforge.org ERROR: While executing gem ... (NoMethodError) undefined method `version_requirements' for #<Gem::Specification name=syndication version=0.4.0> C:\dev\jruby\antbuilder>gem list --remote AntBuilder