From: Stefano Crocco Date: 2009-01-25T19:38:06+09:00 Subject: Re: Listing installed gems Alle domenica 25 gennaio 2009, Shilo Ayalon ha scritto: > Hi - > > I'm trying to find out if there's a simple way to list all the gems I > have installed on my system (linux/windows), or perhaps there exists a > rake task that does this. Of course, I could execute ls/dir on my gem > directory, but just wanted to see if there's already something like this > or more (say, list gem and version). > > I'd appreciate any feedback - thanks! Doesn't gem list does what you want? On my system (with rubygems 1.3.1) this command prints a list of all the installed gems, together with their version. For example, a part of the list looks like this: rdoc (2.2.1) RedCloth (4.1.1) rice (1.0.2) rspec (1.1.12, 1.1.10) ruby-debug (0.10.3) ruby-debug-base (0.10.3, 0.10.2) rubyforge (1.0.1) RubyInline (3.8.1) Stefano