Is there a gem command to open up the rdoc for a particular gem in the default browser at the index

Hi,

Is there a gem command to open up the rdoc for a particular gem in the
default browser at the index page??? e.g. something like “gem rdoc
rspec”, and this would open up firefox at the index.html page of the
rspec gem API doco…

Tks

2008/11/8 Greg H. :

Is there a gem command to open up the rdoc for a particular gem in the
default browser at the index page??? e.g. something like “gem rdoc
rspec”, and this would open up firefox at the index.html page of the
rspec gem API doco…

look at the ‘gem server’ command.

-- Jean-François.

thanks - I was kind of fishing for a lower resource intensive shortcut
to load the index.html page from one’s HDD given it’s there, without
having to run a web server, however if this doesn’t exist then knowing
about gem server is great