Fixing Jekyll
For some reason I found that I could no longer generate this site using jekyll
. I kept getting strange errors:
After a bit of googling, I discovered that I needed to make the following patch:
--- /usr/lib/ruby/gems/1.8/gems/jekyll-0.11.2/lib/jekyll/post.rb.orig 2012-08-11 18:38:15.670037903 +0100
+++ /usr/lib/ruby/gems/1.8/gems/jekyll-0.11.2/lib/jekyll/post.rb 2012-08-11 16:31:23.014972718 +0100
@@ -18,7 +18,7 @@
name =~ MATCHER
end
- attr_accessor :site
+ attr_accessor :site, :name
attr_accessor :data, :content, :output, :ext
attr_accessor :date, :slug, :published, :tags, :categories
This adds a new access to the Post
object, which Jekyyl appears to require but is not implemented.
Tweet |
|