anchor.diff:  
   In an OSGi context it will not work because JRuby needs some paths to find the gems (the Asciidoctor ones and the Ruby themselves ones). In order to make it work, you will need two more classes (RubyInstanceConfig and JavaEmbedUtils) and a small modification of the previous snippet of code. The modifications take care of the class loaders because in OSGi, which are a key point in OSGi:
   
  -[source,java]
  +[source,java,subs=attributes+]
   ----
   import static org.asciidoctor.Asciidoctor.Factory.create;
   import org.asciidoctor.Asciidoctor;
  
positive.code: :uri-repo: https://github.com/asciidoctor/asciidoctorj
  :uri-issues: {uri-repo}/issues
  :uri-discuss: http://discuss.asciidoctor.org
  :artifact-version: 1.5.4
  :uri-maven-artifact-query: http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.asciidoctor%22%20AND%20a%3A%22asciidoctorj%22%20AND%20v%3A%22{artifact-version}%22
  :uri-maven-artifact-detail: http://search.maven.org/#artifactdetails%7Corg.asciidoctor%7Casciidoctorj%7C{artifact-version}%7Cjar
  :uri-maven-artifact-file: http://search.maven.org/remotecontent?filepath=org/asciidoctor/asciidoctorj/{artifact-version}/asciidoctorj-{artifact-version}
  
negative.code: . Create the following folder tree: [path]_$JBOSS_HOME/modules/org/asciidoctor/main_.
  . Create the module descriptor file [path]_module.xml_.
  +
  [source,xml,subs=attributes+]
  .Asciidoctor module descriptor for WildFly AS
  ----
  <?xml version="1.0" encoding="UTF-8"?>
  <module xmlns="urn:jboss:module:1.0" name="org.asciidoctor">
      <resources>
          <resource-root path="asciidoctorj-{artifact-version}.jar"/>
          <resource-root path="jcommander-1.35.jar"/>
          <resource-root path="jruby-complete-1.7.26.jar"/>
      </resources>
      <dependencies>
          <module name="sun.jdk" export="true">
  