Code macro doesn't support ruby

Am I missing something obvious? Just upgraded from Confluence 3.4 to 3.5.16.

The release notes show a picture of the code macro with ruby support. There's nothing in the upgrade notes that say you have to configure something differently.

But when we use {code:language=ruby} it fails with an error. I downloaded the SyntaxHighlighting plugin to get it working for ruby, but the release notes imply it's built in. I don't think I should have had to get a third party plugin to get it working.

1 answer

1 accepted

0 votes
Answer accepted

Maybe you have an old version of code plugin installed. Search through your plugins for "code" and ensure only "Code Macro Plugin 1.9.10" is installed. Disable or uninstall anything else.

Ruby certainly works out of the box on our version of 3.5.16, but I vaguely recall having to get rid of the old "New Code" macro when we moved to 3.5.

Hmm. Code Macro Plugin 1.9.10 is installed and "newcode" was already disabled.

I'm marking your answer as correct because you're probably right ... it's probably something else interefering with it. Not losing sleep over it, because I did get it working by installing that separate plugin anyway.

Sorry, forgot to say thank you for responding so quickly. :)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

921 views 2 13
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you