# Rake doc:guides error

**URL:** <https://www.ruby-forum.com/t/rake-doc-guides-error/156234>\
**Category:** Rails\
**Created:** [December 23, 2008, 7:19am UTC](https://www.ruby-forum.com/t/rake-doc-guides-error/156234 "2008-12-23T07:19:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![richardchaven](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e480ec/32.png) [@richardchaven](https://www.ruby-forum.com/u/richardchaven)\
**Post date:** [December 23, 2008, 7:19am UTC](https://www.ruby-forum.com/t/rake-doc-guides-error/156234/1 "2008-12-23T07:19:50Z")

</div>

I have Rails 2.2.2 installed and get the following message when I try  
to generate the rails guides:

Family-iMac:expences Dad$ rake doc:guides  
(in /Users/Dad/Documents/Rails/Apps/expences)  
rake aborted!  
Don’t know how to build task ‘doc:guides’

(See full trace by running task with --trace)  
Family-iMac:expences Dad$ rake doc:guides --trace  
(in /Users/Dad/Documents/Rails/Apps/expences)  
rake aborted!  
Don’t know how to build task ‘doc:guides’  
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1706:in `[]' /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2018:in`invoke\_task’  
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in `top_level' /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in`each’  
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in `top_level' /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in`standard\_exception\_handling’  
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1991:in `top_level' /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1970:in`run’  
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in  
`standard_exception_handling' /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in`run’  
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/bin/rake:31  
/usr/bin/rake:19:in `load’  
/usr/bin/rake:19

---

<div class="post-metadata">

**Author:** ![richardchaven](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e480ec/32.png) [@richardchaven](https://www.ruby-forum.com/u/richardchaven)\
**Post date:** [December 23, 2008, 9:27am UTC](https://www.ruby-forum.com/t/rake-doc-guides-error/156234/2 "2008-12-23T09:27:22Z")

</div>

> rake --tasks

?

Le 23 dÃ©c. 08 Ã 07:19, Richard H. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) a Ã©crit :

---

<div class="post-metadata">

**Author:** ![richardchaven](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e480ec/32.png) [@richardchaven](https://www.ruby-forum.com/u/richardchaven)\
**Post date:** [December 23, 2008, 3:40pm UTC](https://www.ruby-forum.com/t/rake-doc-guides-error/156234/3 "2008-12-23T15:40:25Z")

</div>

You need to do from inside a Rails 2.2 app

On Tue, Dec 23, 2008 at 6:19 AM, Richard H. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> Family-iMac:expences Dad$ rake doc:guides --trace  
> /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1991:in `top_level' /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1970:in `run’  
> /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in  
> `standard_exception_handling' /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in `run’  
> /Library/Ruby/Gems/1.8/gems/rake-0.8.3/bin/rake:31  
> /usr/bin/rake:19:in `load’  
> /usr/bin/rake:19
> 
> >

–  
Cheers!

- Pratik  
[http://m.onkey.org](http://m.onkey.org)

---

<div class="post-metadata">

**Author:** ![richardchaven](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e480ec/32.png) [@richardchaven](https://www.ruby-forum.com/u/richardchaven)\
**Post date:** [December 23, 2008, 6:31pm UTC](https://www.ruby-forum.com/t/rake-doc-guides-error/156234/4 "2008-12-23T18:31:46Z")

</div>

Thank you, Pratik. You were right. Once I generated an app within  
Rails 2.2, and updated my RubyGems from 1.2.0 → 1.3.1 (http://  
[tinyurl.com/6qhxxm](http://tinyurl.com/6qhxxm)), everything worked fine.

Richard
