1

Pls how do I get the offline version of rails 5.0.1 docs and guides?

I have tried this

rake doc:guides

But I got this error

rake aborted!

Don't know how to build task 'doc:guides' (see --tasks)

(See full trace by running task with --trace)

Thanks.

JohnnyDevv
  • 289
  • 4
  • 18

1 Answers1

1

rake doc:guides is not supported from Rails 5.0. See this

Using rdoc install docs of rails if not already.

gem install rails --rdoc

then run $ gem server and open http://localhost:8808 to view the gems and corresponding documentations. enter image description here

If doc is installed, the rdoc link will be active. Otherwise, just install the rdoc of the gems. See this for more info


If you are in Linux system, you can use https://zealdocs.org/ to load offline doc of any library you choose.

Community
  • 1
  • 1
Shiva
  • 11,485
  • 2
  • 67
  • 84