문제

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

http://railsapi.com/

Just download this to your gem docs dir.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top