I'm trying to use Octopress (a blogging engine on top of Jekyll) on my new Macbook, and I get this error when I run bundle exec jekyll --server
:
(shortened path)
/path/to/markdown.rb:118:in `to_html': wrong argument type String (expected Array) (TypeError)
from /path/to/markdown.rb:118:in `convert'
...
(full path)
/usr/local/rvm/gems/ruby-1.9.2-p290/gems/jekyll-0.11.0/lib/jekyll/converters/markdown.rb:118:in `to_html': wrong argument type String (expected Array) (TypeError)
from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/jekyll-0.11.0/lib/jekyll/converters/markdown.rb:118:in `convert'
...
Looking at line 118, I see:
RDiscount.new(content, *@rdiscount_extensions).to_html
If I replace this line with a string like "hello", the server starts fine. But if I replace it with something like RDiscount.new("hello").to_html
, I get the same error. However, launching irb and running RDiscount.new("hello").to_html
works fine.
Any ideas what's wrong? I'm able to launch the server on another computer I have, but I'm not sure how to figure out what's the difference between what the two computers are doing (a different version of some library somewhere?).