Forum: Ruby on Rails rake doc:guides error

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Richard H. (Guest)
on 2008-12-23 08:19
(Received via mailing list)
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
Rémy EVEN (Guest)
on 2008-12-23 10:27
(Received via mailing list)
> rake --tasks

?

Le 23 déc. 08 à 07:19, Richard H. <removed_email_address@domain.invalid> a 
écrit :
Pratik N. (Guest)
on 2008-12-23 16:40
(Received via mailing list)
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>
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
friscolimo (Guest)
on 2008-12-23 19:31
(Received via mailing list)
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), everything worked fine.

Richard
This topic is locked and can not be replied to.