Closed jashmenn closed 11 years ago
I'm getting the same error, middleman 3.0.5, middleman-sytax 1.2.0. However, I'm using
set markdown_engine, :redcarpet
If you are still looking for a solution, switching my Gemfile version worked just fine.
gem "middleman-syntax", "= 1.1.1"
EDIT I take that back, only a few pages were fixed with that.
Thanks - that works if I use redcarpet.
I cannot gem install middleman-syntax -v 1.1.1
on cygwin as posix-spawn
does not exists :(
Hi guys,
Could you try a couple things with the 1.2.0 version? First, try the newest middleman gem. 3.0.5 and 3.0.6 are very old. Second, try putting your set :markdown_engine
statement before activate :syntax
.
@bardware pygments.rb requires posix-spawn, which is why I switched this gem to use rouge in 1.2.0.
@bhollis I updated to 3.0.14 last night, and it is not working with middleman-syntax 1.2.0 (same error as above). The middleman init command gave me a Gemfile with 3.0.5 originally.
And yes, set :markdown_engine
is at the top of config.rb where activate :syntax
is at the bottom (just like in the generated version).
Sample app here -- joshwlewis/presentation just uncomment the activate :syntax
line and run the server to get the error.
OK, 1.2.1 is released that fixes this problem. This is what I get for only testing against Middleman's master
branch.
Thanks for the quick fix, works great!
Hey guys, I'm getting a really weird error trying to get
middleman-syntax
working.Using a fresh
middleman
version 3.0.6.In
config.rb
In
Gemfile
Then running
bundle exec middleman server
gives:I'm a missing something obvious? Thanks!