[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Can rubygems do rdoc on update?

Andrew Vit

3/23/2009 7:56:00 AM

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
2 Answers

Ryan Davis

3/23/2009 8:41:00 AM

0


On Mar 23, 2009, at 00:57 , Andrew Vit wrote:

> 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?


Andrew Vit

3/23/2009 9:02:00 AM

0

On Mar 23, 1:40 am, Ryan Davis <ryand-r...@zenspider.com> wrote:
> it is a known bug, but I don't think it has been filed officially.  
> care to?

Done, thanks.

http://rubyforge.org/tracker/index.php?func=detail&aid=24784&group_id=126&am...