Description of problem: Running "asciidoctor" I receive a strange error (that seems Java!!). Version-Release number of selected component (if applicable): asciidoctor 1.5.2-1.fc21 Steps to Reproduce: 1. open terminal 2. run "asciidoctor" Actual results: OptoFactory.java:109:in `<clinit>': java.lang.NoClassDefFoundError: org/objectweb/asm/Opcodes from Ruby.java:4549:in `<init>' from Ruby.java:280:in `newInstance' from Main.java:262:in `internalRun' from Main.java:221:in `run' from Main.java:201:in `main' Expected results: I expected it to work properly as it did in F20
Hi Fabio, Dan pointed out to me that this is probably a bug Fedora's jruby package, not rubygem-asciidoctor. The same backtrace is here: https://bugzilla.redhat.com/show_bug.cgi?id=1174128 . I'd be curious to know whether you have the Ruby RPM installed? "rpm -q ruby" If you do have the MRI ruby package installed, then you can tell rubypick to prefer MRI over JRuby by setting the RUBYPICK environment variable. Please try running the following: RUBYPICK=_mri_ /usr/bin/asciidoctor If that does not crash, and asciidoctor works as expected, please let us know. Once we can could confirm that bug 1174128 is the issue, I can close this bug as a duplicate of that one. But I'd prefer to have your feedback if at all possible before Dan and I proceed :)
Hi, the "rpm -q ruby" returned that the ruby package is _NOT_ installed. Executing "sudo dnf install ruby" it installed "ruby" and "rubygem-bigdecimal" and then the problem was solved. Thank you :)
Thanks Fabio! I'll go ahead and close this one so we can track the jruby issue in 1174128. *** This bug has been marked as a duplicate of bug 1174128 ***