Tuesday, August 31, 2010

Easy access to documentation of all gems installed

I had a difficulty finding a documentation for pg (ruby gem to access PostgreSQL).
Then I fond an easy way to access a documentation of any gem that I installed.

1. Just launch a web server:
gem server
And go to http://localhost:8808.
You have it all there.

More info here: http://docs.rubygems.org/read/chapter/18

2. Run it at startup.

a. Goto Preferences > Startup Applications.
b. Add new application:
- Name: gem server
- Command: gem server
c. Restart Ubuntu.

For other way of starting it up, see also:

No comments:

Post a Comment