In my Rails application direcotory, when I run "rdoc", I got an error message:
Directory doc already exists, but it looks like it
isn't an RDoc directory. Because RDoc doesn't want to risk
destroying any of your existing files, you'll need to
specify a different output directory name (using the
--op <dir> option).
That's because rails generated "doc" directory that rdoc don't like. To fix this, we can either use rake:
$ rake doc:app
Or specify another directory name to rdoc:
$rdoc --op rdoc_dir
If "rdoc_dir" does not exist, rdoc will create it for you. Then the contents in "rdoc_dir" from "rdoc" would be the same as those in the "doc/app" directory that you get from running rake.
Recent comments
2 weeks 5 days ago
3 weeks 6 days ago
7 weeks 4 days ago
32 weeks 4 days ago
33 weeks 3 days ago
44 weeks 3 days ago
45 weeks 5 days ago
1 year 2 weeks ago
1 year 2 weeks ago
1 year 3 weeks ago