imathis/octopress — Issue #386: rake generate and date plugin issue
Author: shawnthroop
Created: 2012-01-19 21:05:02+00:00
State: open

I seem to be getting this error when I perform a rake generate:

Shawns-MacBook-Pro:octolocal shawnthroop$ rake generate
## Generating Site with Jekyll
unchanged sass/screen.scss
Configuration from /Users/shawnthroop/Dropbox/Carton/octolocal/_config.yml
Building site: source -> public
/Users/shawnthroop/Dropbox/Carton/octolocal/plugins/date.rb:15:in `ordinalize': undefined method `strftime' for false:FalseClass (NoMethodError)
from /Users/shawnthroop/Dropbox/Carton/octolocal/plugins/date.rb:37:in `format_date'
from /Users/shawnthroop/Dropbox/Carton/octolocal/plugins/date.rb:94:in `initialize'
from /Users/shawnthroop/.rvm/gems/ruby-1.9.2-p290/gems/jekyll-0.11.0/lib/jekyll/site.rb:140:in `new'
from /Users/shawnthroop/.rvm/gems/ruby-1.9.2-p290/gems/jekyll-0.11.0/lib/jekyll/site.rb:140:in `block in read_directories'
from /Users/shawnthroop/.rvm/gems/ruby-1.9.2-p290/gems/jekyll-0.11.0/lib/jekyll/site.rb:130:in `each'
from /Users/shawnthroop/.rvm/gems/ruby-1.9.2-p290/gems/jekyll-0.11.0/lib/jekyll/site.rb:130:in `read_directories'
from /Users/shawnthroop/.rvm/gems/ruby-1.9.2-p290/gems/jekyll-0.11.0/lib/jekyll/site.rb:135:in `block in read_directories'
from /Users/shawnthroop/.rvm/gems/ruby-1.9.2-p290/gems/jekyll-0.11.0/lib/jekyll/site.rb:130:in `each'
from /Users/shawnthroop/.rvm/gems/ruby-1.9.2-p290/gems/jekyll-0.11.0/lib/jekyll/site.rb:130:in `read_directories'
from /Users/shawnthroop/.rvm/gems/ruby-1.9.2-p290/gems/jekyll-0.11.0/lib/jekyll/site.rb:98:in `read'
from /Users/shawnthroop/.rvm/gems/ruby-1.9.2-p290/gems/jekyll-0.11.0/lib/jekyll/site.rb:38:in `process'
from /Users/shawnthroop/.rvm/gems/ruby-1.9.2-p290/gems/jekyll-0.11.0/bin/jekyll:250:in `'
from /Users/shawnthroop/.rvm/gems/ruby-1.9.2-p290/bin/jekyll:19:in `load'
from /Users/shawnthroop/.rvm/gems/ruby-1.9.2-p290/bin/jekyll:19:in `

'
Shawns-MacBook-Pro:octolocal shawnthroop$

I've googled around and haven't found anything to help. Also it was a random occurrence, just suddenly after editing some of the theme files. Any ideas on how to fix this?

Shawn