Installing Asciidoctor diagram inside a gitlab docker container anyone?

I would like to use AsciiDoctor Diagram in conjunction with asciidoc on the wiki pages of my project. Asciidoctor diagram can be installed via gem as follows:

  1. gem install asciidoctor-diagram
  2. add gem ‘asciidoctor-diagram’ inside the gemfile of my application.
  3. execute bundle.

Is there a proper way to do that with GitLab? A hook, maybe? Anyone else attempted this before?

Thanks for any insight you might have.



I believe this won’t work since GitLab maintains its own Ruby version. Even you manage to install that, it will be overridden on upgrade. This must be provided with the official packages.

Please subscribe to this feature request: