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.
886a36483c3ff5cbf13d1a2ddbdd6d88?d=identicon&s=25 Richard Hood (Guest)
on 2008-12-23 07: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
363c4a1c158e96d5eb92013f0a6ab9d8?d=identicon&s=25 Rémy EVEN (Guest)
on 2008-12-23 09:27
(Received via mailing list)
> rake --tasks

?

Le 23 déc. 08 à 07:19, Richard Hood <friscolimo@gmail.com> a écrit :
A05834e9b5954947eb0ba3b570c47d5e?d=identicon&s=25 Pratik Naik (pratik)
on 2008-12-23 15: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 Hood <friscolimo@gmail.com>
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
886a36483c3ff5cbf13d1a2ddbdd6d88?d=identicon&s=25 friscolimo (Guest)
on 2008-12-23 18: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.