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?)

Cheap hack:
$:.map{|s|s=~Regexp.new(Regexp.escape(Config::CONFIG['libdir']+'/ruby/gems/1.8/gems/')+'(.*)/lib$');$1}.compact
(or http://preview.tinyurl.com/ya4en4 in Firefox)

I'm sure if you dig through the RubyGems code, you'll find a better way 
of specifying that directory.

Devin