[Rubygems-developers] (no subject)
Austin Ziegler
halostatue at gmail.com
Thu Aug 16 15:40:58 EDT 2007
On 8/16/07, Eric Hodel <drbrain at segment7.net> 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 * halostatue at gmail.com * http://www.halostatue.ca/
* austin at halostatue.ca * http://www.halostatue.ca/feed/
* austin at zieglers.ca
More information about the Rubygems-developers
mailing list