# Rake doc:app not including lib directory

**URL:** <https://www.ruby-forum.com/t/rake-doc-app-not-including-lib-directory/64250>\
**Category:** Rails\
**Created:** [June 23, 2006, 3:38pm UTC](https://www.ruby-forum.com/t/rake-doc-app-not-including-lib-directory/64250 "2006-06-23T15:38:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Steven](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/94ad74/32.png) [@Steven](https://www.ruby-forum.com/u/Steven)\
**Post date:** [June 23, 2006, 3:38pm UTC](https://www.ruby-forum.com/t/rake-doc-app-not-including-lib-directory/64250/1 "2006-06-23T15:38:49Z")

</div>

Hi all,

I have found a couple of posts about this issue, but no clear answer…

I noticed that the rake task doc:app doesn’t include ruby files in the  
lib directory.

How to change that?

I have found the documentation.rake file in the rails gem, but thought  
there must be a better way than just hacking that file to include the  
lib dir.

Also, I see you can add rake files to lib/tasks, and they will be picked  
up automatically by the app rake file, but is it possible to merge with  
or append to an existing task?

Any advice on this issue gratefully received.

Many Thanks,

Steven
