From: Chad Fowler Date: 2003-12-24T02:21:56+09:00 Subject: Re: RubyGems and dependencies Hi Francis! On Wed, 24 Dec 2003, Francis Hwang wrote: # Two RubyGems questions about dependencies: # # 1. If I use RubyGems to document a dependency to another gem then am I # correct in thinking it's not enough to simply have had that library # installed -- I explicitly need that gem, right? I mean, Lafcadio # depends on REXML and when I try to install the Lafcadio gem it tells # me it can't find the REXML gem. REXML is already installed (I'm using # Ruby 1.8 so it's part of the std library) but I'll need to install the # REXML gem so that my Lafcadio gem will work, right? # That's correct. We can handle documented requirements which aren't managed dependencies, but if you want real dependency management, the dependencies (for now at least) have to be Gems. # 2. Related to that: Any ideas as to where in the future you see some # sort of auto-dependency install mgmt happening? # Do you mean like: gem --remote-install somegem ..and it downloads and installs the gem and all of its dependencies? If so, you can already do this (of course, it needs to have the kinks worked out, but the basic functionality has been there since RubyConf). Chad