Can rubygems do rdoc on update?

A

Andrew Vit

I've added the following to my .gemrc file:

gem: --rdoc
rdoc: --fmt ajax --charset utf8 --exclude .*generator.* --
exclude .*test.* --exclude .*spec.*

This automatically builds rdocs on gem install, and gives me the ajax-
searchable RailsBrain formatter. That part works great. What I'm
wondering is how can I get it to also do the rdocs on update? For gem
update I have to generate them manually with:

gem rdoc UPDATED_GEM_NAME

Thanks,
Andrew Vit
 
R

Ryan Davis

I've added the following to my .gemrc file:

gem: --rdoc
rdoc: --fmt ajax --charset utf8 --exclude .*generator.* --
exclude .*test.* --exclude .*spec.*

This automatically builds rdocs on gem install, and gives me the ajax-
searchable RailsBrain formatter. That part works great. What I'm
wondering is how can I get it to also do the rdocs on update? For gem
update I have to generate them manually with:

gem rdoc UPDATED_GEM_NAME

it is a known bug, but I don't think it has been filed officially.
care to?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,143
Latest member
SterlingLa
Top