[Rubygems-developers] using a .gem in situ

Jim Weirich jim.weirich at gmail.com
Thu Jul 13 17:46:24 EDT 2006

On 7/13/06, Edward Summers <ehs at pobox.com> wrote:
> My apologies if this has been asked before. I'm a newbie to gems and
> was wondering if the actual .gem file can be used by the Ruby
> interpreter without having to 'install' it into a particular
> location. Something like how .jar files can be used?

As Eric said, you cannot use gems without installing them first.  Very early
on, the gems team discussed hacking the require command to load ruby source
from a zipped up gem, but that approach would work with .so or .dll files,
so we didn't even try to got that route.

-- Jim Weirich    jim at weirichhouse.org     http://onestepback.org
"Beware of bugs in the above code; I have only proved it correct,
not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rubygems-developers/attachments/20060713/68f116a0/attachment.html 

More information about the Rubygems-developers mailing list