lsegal/yard — Issue #499: Yardoc Task fails with "uninitialized constant YARD::CLI"
Author: Jamamooga
Created: 2012-03-08 11:17:27+00:00
State: open

rake yard always fails with:
rake aborted!
uninitialized constant YARD::CLI

--trace tracks it down to line 66 of yard/rake/yardoc_task.rb
```yardoc = YARD::CLI::Yardoc.new```

Here is my yardoc task based on the example:

```
require "yard/rake/yardoc_task"

YARD::Rake::YardocTask.new do |yard|
yard.files = ["readme.md", "license.txt", "doc/Getting Started.html", "doc/tu du.txt", "doc/Byte Code Reference.html", 'lib/**/*.rb'] # optional
# yard.options = ['--any', '--extra', '--opts'] # optional
end
```