Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Liquid error: undefined method Syntax Highlighting Ubuntu Oneiric #243

yodiaditya opened this issue Oct 23, 2011 · 6 comments


Copy link

After upgrading into Ubuntu Oneiric, i found error syntax highlighting {% codeblock %} at my octopress blog :

 Liquid error: undefined method `join’ for #<String:0x00000001b65f70>  

This is because Liquid 2.3.0. So, i downgrade into Liquid 2.2.2 and solve this problem.

Somebody also facing this problem.

I post "How to develop Octopress on Ubuntu Oneiric" to help people avoid rake install error and syntax hightlighting.


Copy link

Thank you for pointing this out, I added the Liquid version to the Gemfile.

Copy link

what can I do if I need to use liquid 2.3 because of jekyll?

Copy link

Try the following:
plugins/code_block.rb, line 67: Replace code = super.join with code = super.

The same error also exists in the blockquote plugin:
plugins/blockquote.rb, line 49: Replace quote = paragraphize( with quote = paragraphize(super.strip)

@fhemberger fhemberger reopened this Jul 12, 2012
Copy link

Could you tell me what the problem is? Is the .map method deprecated?
btw I have to fix this one:

# Convert the entire content array into one large string
lines ="\n")

Copy link

I fixed that particular plugin by changing that line to

lines = super

Copy link

podblog commented Oct 26, 2012

Jon - that helped so much with something I struggled with all day. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

6 participants