asciidoctor / asciidoctor-ant

:ant: Ant task to render Asciidoc documentation
Apache License 2.0
9 stars 5 forks source link

Problems with external gems on Windows #73

Open rockyallen opened 6 years ago

rockyallen commented 6 years ago

I want to use asciidoctor-bibtex with asciidoctor-ant, so I have put the dependencies in a local folder and tried:

 <asciidoctor:convert ...
    safemode="unsafe"
    gemPaths="${basedir}/gems/">
    <attribute key="bibtex-file" value="${basedir}/shared/references.bib"/>
    <require name="bibtex-ruby-4.4.7"/>
    <require name="citeproc-1.0.9"/>
    <require name="citeproc-ruby-1.1.10"/>
    <require name="csl-1.5.0"/>
    <require name="csl-styles-1.0.1.8"/>
    <require name="latex-decode-0.3.1"/>
    <require name="namae-1.0.1"/>
    <require name="asciidoctor-bibtex-0.3.1"/>
  </asciidoctor:convert>

Which gives:

org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- bibtex-ruby-4.4.7 at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:961) at RUBY.require(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55) at RUBY.

( Githubissues.
  • Githubissues is a development platform for aggregating issues.