[Rubygems-developers] 'require_gem' with ambiguous names...

Gavin Sinclair gsinclair at soyabean.com.au
Mon Sep 13 10:22:20 EDT 2004


On Monday, September 13, 2004, 2:34:38 PM, Jamis wrote:

> Disclaimer: I'm still using 0.7, so I don't know if this is fixed in 0.8.

> I've got four gems: copland, copland-lib, copland-remote, and 
> copland-webrick. When I do a "require_gem 'copland'", all four of those
> match, and because 'copland-webrick' is the last one in the list, it is
> the one that gets required. Fortunately, copland-webrick has a 
> dependency on copland, so all works out okay, but it wasn't quite what I
> expected.

> Is this already fixed?

Are you saying that require_gem is inexact in its behaviour?  If so,
wow...  dunno if it's fixed.

Where are these four gems you've got?  Are they planned releases?

Gavin




More information about the Rubygems-developers mailing list