Open Wsadowski opened 8 years ago
problem goes to debug plugin. removing that one would resolve these errors
I've encountered this to using Jekyll v3.0.0. I resolved it by commenting out the first module in debug.ru
require 'pp'
# module Jekyll
# # Need to overwrite the inspect method here because the original
# # uses < > to encapsulate the psuedo post/page objects in which case
# # the output is taken for HTML tags and hidden from view.
# #
# class Post
# def inspect
# "#Jekyll:Post @id=#{self.id.inspect}"
# end
# end
# class Page
# def inspect
# "#Jekyll:Page @name=#{self.name.inspect}"
# end
# end
# end # Jekyll
module Jekyll
module DebugFilter
def debug(obj, stdout=false)
puts obj.pretty_inspect if stdout
"<pre>#{obj.class}\n#{obj.pretty_inspect}</pre>"
end
end # DebugFilter
end # Jekyll
Liquid::Template.register_filter(Jekyll::DebugFilter)
When running jekyll serve in the directory cloned from the bootstrap repo, it throws a long list of errors:
Serving a site generated by "jekyll new" works flawlessly, however.