RubyGems: gem_server

So, you are using some modules for Ruby, in the shape of [gems](http://rubyforge.org/projects/rubygems/) (read [the book](http://docs.rubygems.org/)!). You need to read the gem’s docs. Instead of Googling, fire up a local pure-Ruby webserver ([Webrick](http://www.webrick.org/)), on a custom port, and view the beautiful RDoc pages there, in their web-native shape! Invoke the thing like this:

gem_server

Then go visit [http://localhost:8808/](http://localhost:8808/). (Corrected the link, thanks Matthew!)

(I wrote this here since Googling the term gem_server turned up nothing the un-informed could use at once. Or, you could have [read about this a year ago](http://laughingmeme.org/articles/2005/04/01/some-rails-tips-especially-for-os-x-hackers) at Laughing Meme. The top results were all bug reports and such.)

Published by olleolleolle

Olle is a programmer, enjoying sunny Malmö in Sweden.

Join the Conversation

1 Comment

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.