imathis/octopress — Issue #309: rake generate errors out
Author: olivierlacan
Created: 2011-12-07 04:00:32+00:00
State: open

rake generate causes this error:

```
## Generating Site with Jekyll
create source/stylesheets/screen.css
Configuration from /Users/olivierlacan/Development/perso/octoli/_config.yml
Building site: source -> public
/Users/olivierlacan/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/jekyll-0.11.0/lib/jekyll/convertible.rb:27:in `read': No such file or directory - /Users/olivierlacan/Development/perso/octoli/source/_includes/custom/category_feed.xml (Errno::ENOENT)
from /Users/olivierlacan/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/jekyll-0.11.0/lib/jekyll/convertible.rb:27:in `read_yaml'
from /Users/olivierlacan/Development/perso/octoli/plugins/category_generator.rb:66:in `initialize'
from /Users/olivierlacan/Development/perso/octoli/plugins/category_generator.rb:97:in `new'
from /Users/olivierlacan/Development/perso/octoli/plugins/category_generator.rb:97:in `write_category_index'
from /Users/olivierlacan/Development/perso/octoli/plugins/category_generator.rb:109:in `block in write_category_indexes'
from /Users/olivierlacan/Development/perso/octoli/plugins/category_generator.rb:108:in `each'
from /Users/olivierlacan/Development/perso/octoli/plugins/category_generator.rb:108:in `write_category_indexes'
from /Users/olivierlacan/Development/perso/octoli/plugins/category_generator.rb:127:in `generate'
from /Users/olivierlacan/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/jekyll-0.11.0/lib/jekyll/site.rb:184:in `block in generate'
from /Users/olivierlacan/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/jekyll-0.11.0/lib/jekyll/site.rb:183:in `each'
from /Users/olivierlacan/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/jekyll-0.11.0/lib/jekyll/site.rb:183:in `generate'
from /Users/olivierlacan/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/jekyll-0.11.0/lib/jekyll/site.rb:39:in `process'
from /Users/olivierlacan/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/jekyll-0.11.0/bin/jekyll:250:in `'
from /Users/olivierlacan/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/bin/jekyll:19:in `load'
from /Users/olivierlacan/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/bin/jekyll:19:in `

'
```

Isolated to `/plugins/category_generator.rb`
Line 66 reads:
```ruby
self.read_yaml(File.join(base, '_includes/custom'), 'category_feed.xml')
```