From: Eric Hodel Date: 2006-12-14T07:39:25+09:00 Subject: Re: gems cleverness? On Dec 11, 2006, at 19:31, Giles Bowkett wrote: > Is there an easy way to find out all the gems you're running in a > particular codebase? (It's a Rails app but I'd imagine the technique > has general usefulness?) Gem::SourceIndex.from_installed_gems.search(//).map { |spec| spec.full_name } # * You get back an Array of Gem::Specification objects. (I should fix that search in there.) * I'm running from SVN, but this should still work. -- Eric Hodel - drbrain@segment7.net - http://blog.segment7.net I LIT YOUR GEM ON FIRE!