Rake doc:rails fails with edge rails


#1

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:ininvoke_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:ininvoke_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:insynchronize’
/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:ininvoke_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:ininvoke_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:insynchronize’
/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:inrun’
/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!


#2

John D. 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
:slight_smile:

John