On 8/16/07, Eric Hodel <[EMAIL PROTECTED]> wrote:
> On Aug 15, 2007, at 17:11, Brian Sammon wrote:
> > Does rubygems use a package database, or does it just search the
> > filesystem
> > when it's looking for information on installed gems?
> Searches the FS
>
> See Gem::source_index, Gem::SourceIndex#from_installed_gems and
> Gem::GemPathSearcher.

Hm. Wonder if something like:

begin
  require 'hoe'
rescue LoadError
  `gem install -y hoe`
  retry
end

...would work, given the right conditions. ;)

-austin
-- 
Austin Ziegler * [EMAIL PROTECTED] * http://www.halostatue.ca/
               * [EMAIL PROTECTED] * http://www.halostatue.ca/feed/
               * [EMAIL PROTECTED]
_______________________________________________
Rubygems-developers mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rubygems-developers

Reply via email to