Just got a brand new install of ruby-1.8.4 and new gems downloaded,
specifically rails-1.0.0. Seems rails does not generated rdoc for
gem_server.
Looking into the problem, it seems that there is an error when doing
‘rake rdoc’
for rails-1.0.0.
% rake rdoc
(in /opt/local/ruby-1.8.4/lib/ruby/gems/1.8/gems/rails-1.0.0)
rm -r doc
Thanks for the help. Your original suggestion was quite clear - but
didn’t work in my case. I finally solved my problem by looking in my
“Programming Ruby” book and issuing the following two statements:
sudo gem uninstall rake
(it asked me if I wanted to ignore dependencies, Rail 1.0 requires at
least rake 0.6.2 - I said yes delete it all)
sudo gem install rake -v 0.6.2 rake
(this was sucessful too)
So now, when I’m in my rails project folder and perform
rake appdoc
It builds my html documentation in the doc/ directory.
Now I can investigate my scaffolding extension plugin…
Thanks for the help. Your original suggestion was quite clear - but
didn’t work in my case. I finally solved my problem by looking in my
“Programming Ruby” book and issuing the following two statements:
rake appdoc
It builds my html documentation in the doc/ directory.
Glad you got it working. I’ve had strange problems like this in with
other
gems. I think there is an obscure gems bug when older revisions are
around.
Jim F.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.