Listing Ruby Gems, or just viewing documentation

Here’s a neat trick, if you’re working with Ruby. Ever wondered how to get a list of all installed gems?

At the command prompt, type

sudo gem server

Once you’ve done this, go to http://localhost:8808, and you can see all the Ruby Gems installed, along with info and documentation about them. Awesome!

Hat tip to Matt