Locally generating rails documentation in mac & linux.
January 30, 2009 written by sdhar .It is very easy to build a local copy of rails documentation and guides. Open terminal and type these commands.
-
$ cd /tmp
-
$ rails doc
-
$ cd doc
-
$ rake rails:freeze:gems
-
$ rake doc:rails
-
$ rake doc:guides
-
$ sudo mv doc /opt/rails-doc
After completing these steps open browser and type
-
file:///opt/rails-doc/api/index.html //api.
-
file:///opt/rails-doc/guides/index.html // guide related to rails development.
Tags: documentation
Great man.Thanks a lot.
March 14th, 2009 at 9:47 am