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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Jul 30, 2018 in Confluence

How Manon Soubies-Camy uses Confluence + Trello to organize webinar notes and her knitting stash

@Manon Soubies-Camy is an engineer who has been an avid Atlassian user since 2014. She helps companies of all sizes transform the way they work with the Atlassian stack, including Jira and Confl...

863 views 8 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