Ruby on Rails Offline Documentation

If you’re working on a local Ruby on Rails project and want to access the Rails documentation offline, here is a great tip.

When you installed the Rails Gem, the complete Rails documentation was also installed on your system. To access it, you need to start the built-in Rails server named “Webrick” by going to a command prompt and typing gem_server. Next type http://localhost:8808 into your browsers address bar, and voila!

[Tip via Atog]

3 Responses to “Ruby on Rails Offline Documentation”

  1. Brian Morton said on July 17th, 2005 at 10:24 am

    Thanks very much. I was looking for this information.

    Ciao,

    Brian

  2. thread said on March 1st, 2006 at 6:32 pm

    Cool, but how do I see everything at once like at api.rubyonrails.com? Also, not all of the [rdoc] strings on the page are links. Some are, but others are just black text.

  3. Mhiri said on December 18th, 2006 at 4:41 am

    This “documentation” is only for installed gems, and it’s not relly offline because it gives a web link to get details :-(