Forum: Ruby on Rails rake doc:rails fails with edge rails

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.
C27e9fe209955cdd75f249e7466302e9?d=identicon&s=25 John Dell (jdell)
on 2006-03-31 08:57
Hi,

I'm sure I'm doing something stupid, but I can't figure this one out.  I
want the edge rails docs (I'm using svn:externals for vendor/rails to
get edge rails).  Running ruby 1.8.4, and edge rails.  Tried on linux
and OS X.

'rake doc:app' and 'rake doc:plugins' works fine, but when I run 'rake
doc:rails' I get:

# rake doc:rails --trace
** Invoke doc:rails (first_time)
** Invoke doc/api/index.html (first_time)
rake aborted!
Don't know how to build task 'README'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1287:in `[]'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:209:in
`invoke_prerequisites'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:844:in `each'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:208:in
`invoke_prerequisites'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:201:in `invoke'
/opt/local/lib/ruby/1.8/thread.rb:135:in `synchronize'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:195:in `invoke'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:209:in
`invoke_prerequisites'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:844:in `each'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:208:in
`invoke_prerequisites'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:201:in `invoke'
/opt/local/lib/ruby/1.8/thread.rb:135:in `synchronize'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:195:in `invoke'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1719:in `run'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1719:in `run'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.0/bin/rake:7
/opt/local/bin/rake:18

Is 'rake doc:rails' broken on am I missing an additional gem or
something so this will work?

Thanks!
C27e9fe209955cdd75f249e7466302e9?d=identicon&s=25 John Dell (jdell)
on 2006-03-31 09:36
John Dell wrote:
> Hi,
>
> I'm sure I'm doing something stupid, but I can't figure this one out.  I
> want the edge rails docs (I'm using svn:externals for vendor/rails to
> get edge rails).  Running ruby 1.8.4, and edge rails.  Tried on linux
> and OS X.

Yep, it was something stupid.  I had removed the default 'README' file
from the application root directory. I added that back, and now it works
:-)

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