Description of problem: $ rhc --version 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' Version-Release number of selected component (if applicable): rubygem-rhc-1.32.2-1.fc21.noarch How reproducible: 100 % Steps to Reproduce: 1. $ rhc --version Actual results: Java exception Expected results: version printed out
I am able to reproduce this command *only* if I install jruby and remove ruby. Evidently rubygem-rhc will not work with jruby. I believe we will have to specify Requires: ruby in the spec file.
According to the ruby packaging guidelines, if a rubygem package specifically has to require ruby, it is permitted, to add "Requires: ruby" but you should comment why in the spec file. https://fedoraproject.org/wiki/Packaging:Ruby?rd=Packaging/Ruby#Different_Interpreters_Compatibility
rubygem-rhc-1.34.2-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/rubygem-rhc-1.34.2-1.fc21
rubygem-rhc-1.34.2-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.