In rev 2317, jbarnette introduced the following line into
Gem::DependencyInstaller#find_gems_with_sources:

  requirements = dep.requirement.requirements.map do |req, ver|

In my tests (GemInstaller integration tests against RubyGems trunk),
this is breaking because sometimes the 'requirement' property on
dependencies is nil.

I'm not sure how this happens, because the Gem::Dependency seems to be
getting constructed correctly with a requirement, but later in
#find_gems_with_sources it is nil.  Here is the gemspec:

  
http://github.com/thewoolleyman/geminstaller/blob/master/spec/fixture/gems/specifications/dependent-stubgem-1.0.0.gemspec

Any ideas?  This seems like a regression, these tests have been
working against rubygems since pre-1.0 days...

Thanks,
-- Chad
_______________________________________________
Rubygems-developers mailing list
http://rubyforge.org/projects/rubygems
Rubygems-developers@rubyforge.org
http://rubyforge.org/mailman/listinfo/rubygems-developers

Reply via email to