I don't know about the "windows" part, but on my system it's already there. Running "gem server" and going to http://localhost:8808 in a browser shows me the rdoc for all the installed gems, including Rails.
HTH!
I don't know about the "windows" part, but on my system it's already there. Running "gem server" and going to http://localhost:8808 in a browser shows me the rdoc for all the installed gems, including Rails.
HTH!
> can any one tell how to generate Offline documentation for ruby on > rails on windows
I don't know about the "windows" part, but on my system it's already there. Running "gem server" and going tohttp://localhost:8808in a browser shows me the rdoc for all the installed gems, including Rails.
What I do is run rake doc:rails which creates the same docs as on api.rubyonrails.org (ie all the frameworks on one page). Then I serve that locally and point the rdoc widget at it (so that I get search).
Fred
Hassan Schroeder wrote: [...]
I don't know about the "windows" part, but on my system it's already there. Running "gem server" and going to http://localhost:8808 in a browser shows me the rdoc for all the installed gems, including Rails.
Really? On my system, Rails is one of the gems that does *not* show an rdoc link when I do that.
Best,
!suckimoto, you're right -- the rdoc link is inactive. Scratch that, then ![]()
>> there. Running "gem server" and going tohttp://localhost:8808in a >> browser shows me the rdoc for all the installed gems, including Rails.
> Really? On my system, Rails is one of the gems that does *not* show an > rdoc link when I do that.
!suckimoto, you're right -- the rdoc link is inactive. Scratch that, then
That's the slightly annoying thing - the rails gem is (mostly) just a stub that provides the rails executable, bit of bootstrapping and just depends on the main framework gems (activerecord, activeresource, activesupport etc...). Those frameworks do have rdoc.
Fred