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.)

About olleolleolle

Simple guy. Swedish.
This entry was posted in Ruby on Rails, Technology. Bookmark the permalink.
blog comments powered by Disqus