On Oct 21, 2007, at 16:50 , Austin Ziegler wrote: > On 10/21/07, Eric Hodel <[EMAIL PROTECTED]> wrote: >> On Oct 20, 2007, at 11:39 , Austin Ziegler wrote: >>> That's the ONLY legitimate argument, and it's something that >>> RubyGems >>> will have to deal with in the future. There have been suggestions to >>> make it so that gems can be installed in more than one directory, >>> but >>> that also complicates loading. That way, if Ruby is installed in / >>> usr >>> the .rb files will go in /usr/lib/gems/1.8/... and the .so files >>> would >>> go in /usr/local/lib/gems/1.8/.... >> RubyGems handles gems in multiple directories with `gem install -i` >> and the GEM_PATH environment variable. > > Let me rephrase the question to be sure of the answer. Can a single > gem be installed in more than one location such that the .rb files are > in one location and that the .so files are in another location?
No. If you install the same gem into the default dir and into a separate path (with install -i), the files (.rb and .so) will be installed twice, but only one version will be activated. -- Poor workers blame their tools. Good workers build better tools. The best workers get their tools to do the work for them. -- Syndicate Wars _______________________________________________ Rubygems-developers mailing list [email protected] http://rubyforge.org/mailman/listinfo/rubygems-developers
