views:

170

answers:

1

For you rails programmers, what's the easiest way to keep your RDoc files up-to-date?

I know I can run rake doc:app manually, but I really don't feel like adding a manual step to the check-in process, and since we're already using cruisecontrolrb to handle deployment and testing automation, it seems like there should be an easy way to regenerate these files on check-in.

Is anyone already automating rake doc:app? And, if so, what are your suggestions?

A: 

How about adding it to crontabs? If you don't like the syntax, you could try using the whenever gem, which Ryan Bates' has made an excellent Railscasts episode on.

dvyjones