collimarco
collimarco

Reputation: 35400

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?

Upvotes: 0

Views: 1482

Answers (3)

BlackTea
BlackTea

Reputation: 1274

http://railsapi.com/

Just download this to your gem docs dir.

Upvotes: 0

collimarco
collimarco

Reputation: 35400

Rails itself has no documentation while you can read rdocs about actionmailer, actionpack, activerecord, activeresource or activesupport.

Upvotes: 2

Samuel Chandra
Samuel Chandra

Reputation: 1185

You can try to explicitly generate ri and rdoc during gem installation. The command is as follows:

$ sudo gem install rails --rdoc --ri

Cheers

Upvotes: 0

Related Questions