🕷 zenspider.com

by ryan davis



sitemap
Looking for the Ruby Quickref?

rubygems now has plugins!

Published 2009-04-16 @ 16:33

Tagged ruby, Seattle.rb

Rubygems has plugins now! I’ve got an awesome one in the works for Apple’s Dictionary.app coming soonish.

To see the gem plugins in action, try this:

% sudo gem update --system
% sudo gem install graph
% gem graph

Assuming you have graphviz’s dot somewhere in your path, you’ll wind up with a dot file and a png file of your rubygem state. Here’s mine:

RubygemsAnalyzer_thumb.png

(click to view full size)

You can read more about rubygems plugins by reading the doco for Gem and Gem::CommandManager.