Gem Server and Rails RDoc Not Found
-
21-09-2019 - |
문제
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 itself has no documentation while you can read rdocs about actionmailer, actionpack, activerecord, activeresource or activesupport.
다른 팁
You can try to explicitly generate ri and rdoc during gem installation. The command is as follows:
$ sudo gem install rails --rdoc --ri
Cheers
Just download this to your gem docs dir.
제휴하지 않습니다 StackOverflow