[Rubygems-developers] Recent refactoring introduced regression?

Chad Woolley thewoolleyman at gmail.com
Thu Oct 22 20:29:57 EDT 2009


On Wed, Oct 21, 2009 at 1:43 PM, Chad Woolley <thewoolleyman at gmail.com> wrote:
> 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.

Here is a patch related to this problem, looks like other gems in the
wild have missing requirement property, in addition to my test gems:

http://rubyforge.org//tracker/?func=detail&atid=577&aid=27338&group_id=126


More information about the Rubygems-developers mailing list