Gem Server and Rails RDoc Not Found
I would like to read Rails documentation locally though gem server.
I go to
http://localhost:8808/and Rails 2.3.3 gem is in the list of the gems installed, but when I click [rdoc] I get:
`/doc_root/rails-2.3.3/rdoc/index.html' not found.
I tried to uninstall and reinstall Rails but I got no effect.
All other gems work properly, why I can't see Rails documentation?
Rails本身没有文档,而您可以阅读关于actionmailer,actionpack,activerecord,activeresource或activesupport的rdoc。
You can try to explicitly generate ri and rdoc during gem installation. The command is as follows:
$ sudo gem install rails --rdoc --ri
Cheers
http://railsapi.com/
Just download this to your gem docs dir.
链接地址: http://www.djcxy.com/p/35920.html