Jekyll Error “Liquid Exception: undefined method `encoding' for nil:NilClass in _layouts/post.html”
问题 Getting the following error when trying to run jekyll build or jekyll serve : Liquid Exception: undefined method 'encoding' for nil:NilClass in _layouts/post.html jekyll 2.5.3 | Error: undefined method 'encoding' for nil:NilClass It looks to be an issue with a RVM/ruby file? (see the --trace logs below) but I haven't really touched anything code-wise (especially not in any ruby files) and haven't edited '/_layouts/post.html' in the last several commits and this just popped up. Here's the