tdreyno/middleman-blog — Issue #3: html.markdown pages do not render
Author: bradgessler
Created: 2011-10-21 23:17:54+00:00
State: open

https://github.com/tdreyno/middleman-blog/blob/master/lib/middleman-blog/feature.rb#L77-78

engine = app.settings.markdown_engine.new { sum }
data["summary"] = engine.render

app.settings.markdown_engine.new is returning the symbol :maruku, then .new tries to create an instance of that symbol which results in:

/Users/bgessler/Projects/middleman-blog/lib/middleman-blog/feature.rb in block (2 levels) in registered
engine = app.settings.markdown_engine.new { sum }
/Users/bgessler/Projects/middleman-blog/lib/middleman-blog/feature.rb in map
articles = Dir[articles_glob].map do |article|
/Users/bgessler/Projects/middleman-blog/lib/middleman-blog/feature.rb in block in registered
articles = Dir[articles_glob].map do |article|
/Users/bgessler/Projects/middleman-blog/lib/middleman-blog/feature.rb in block (2 levels) in registered
})