Viewing documentation for your ruby gems
I stumbled into this four line ruby script that will serve up all of the rdoc documentation for your server’s currently installed gems:
#!/usr/bin/env ruby
require "rubygems/server"
options = {:gemdir => Gem.dir, :port => 4242, :daemon => true}
Gem::Server::run(options)
Thanks to Daniel for the ruby code!