HighDots Forums  

gem server doc page has broken rdoc link for rails

Ruby On Rails Talk Ruby On Rails programming language mailing list


Discuss gem server doc page has broken rdoc link for rails in the Ruby On Rails Talk forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Peter
 
Posts: n/a

Default gem server doc page has broken rdoc link for rails - 11-03-2009 , 11:14 AM






Yup, newbie. Working my way through the Agile ... Rails book and
updated gem, rails, rake, and sqlite3 as per the book instructions.
Then tried out the nifty "gem server" command to access the
documentation. Everything is there except the rails rdoc link is
broken:

`/doc_root/rails-2.3.4/rdoc/index.html' not found.

I found the documentation at /usr/lib/ruby/gems/1.8/doc (I am on a
Mac). There are rails-1.2.6 and rails-2.2.2 directories that have
rdoc and ri directories which are empty. I manually created a
rails-2.3.4/rdoc directory and copied in the api docs I manually
created by:

rails_apps> rails dummy_app
rails_apps> cd dummy_app
dummy_app> rake rails:freeze:gems
dummy_app> rake doc:rails

The link is still broken. Of all the searching I did on this problem
in Google and this group,I found two useful suggestions:

1) Uninstall and reinstall gem, but I can't find any instructions to
do this.

2) Generate the docs manually:

sudo gem rdoc rails

Installing ri documentation for rails-1.2.6...
Installing ri documentation for rails-2.2.2...
Installing ri documentation for rails-2.3.4...
Installing RDoc documentation for rails-1.2.6...
Installing RDoc documentation for rails-2.2.2...
Installing RDoc documentation for rails-2.3.4...

This appeared to do absolutely nothing to the contents of /usr/lib/
ruby/gems/1.8/doc/rails*

Any suggestions?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk (AT) googlegroups (DOT) com
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe (AT) googlegroups (DOT) com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply With Quote
  #2  
Old   
Peter
 
Posts: n/a

Default Re: gem server doc page has broken rdoc link for rails - 11-04-2009 , 05:37 PM






Just for kicks I installed ruby and rails via InstantRails on a
Windows XP machine
and it has the exact same problem - no local rails docs for either the
version of
rails that came with InstantRails 2.0 (2.0.2) or the upgraded version
I installed
with gem update rails (2.3.4).

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk (AT) googlegroups (DOT) com
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe (AT) googlegroups (DOT) com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply With Quote
  #3  
Old   
Peter
 
Posts: n/a

Default Re: gem server doc page has broken rdoc link for rails - 11-04-2009 , 05:37 PM



Just for kicks I installed ruby and rails via InstantRails on a
Windows XP machine
and it has the exact same problem - no local rails docs for either the
version of
rails that came with InstantRails 2.0 (2.0.2) or the upgraded version
I installed
with gem update rails (2.3.4).

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk (AT) googlegroups (DOT) com
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe (AT) googlegroups (DOT) com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.