Ruby on Rails Offline Documentation

by Tom

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!

It’s hard for me to believe that they didn’t make this more obvious in the Rails installation documentation, because Internet access is not yet ubiquitous and studying Rails documentation will often need to be done in a location that is not connected.

[Tip via Atog]

If you found this helpful or interesting, please share it!

{ 3 comments… read them below or add one }

Brian Morton

Thanks very much. I was looking for this information.

Ciao,

Brian

thread

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.

Mhiri

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

Leave a Comment

Previous post:

Next post: