-
-
Notifications
You must be signed in to change notification settings - Fork 925
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JRuby master OpenSSL fails to install gems #2034
Comments
just tried to reproduce in the jruby-openssl issue:
works for me. just a few days back I reverted to jruby-openssl version back to 0.9.5 since 0.9.6.dev-SNAPSHOT gave some errors, at a different place. |
I misunderstood it first. but
also works. |
interesting that the command execution produces a different error using (jruby-openssl-.0.9.6.dev-SNAPSHOT) then jruby-complete:
which is what I have seen here jruby/jruby-openssl#11 where as using jruby-openssl-0.9.5.gem and jruby-complete matches the error with commandline execution. |
yes ... it's been eliminated, since we talked about it jruby/jruby-openssl@f54b3bc being an issue with 9k so the same error might as well reproduce on 0.9.5 it's just it's failing before with a CNFE ... I really hoped for a 0.9.6 release - there's like a dosen of goodies in already. there's mostly one ASN1 decoding "regression" which actually seems like a C OpenSSL "bug" but than the certificate's signature is different - it's been giving me a headache this week and I did not crack it so far so it might take a while (also some of the tests in JRuby's repo are testing non compatible behavior - I shall adress them all in a PR later that shall go in after the gem release) |
using jruby-openssl-0.9.5.gemjava.lang.ClassNotFoundException: org.jruby.util.io.ChannelDescriptorGEM_HOME=asd GEM_PATH=asd java -cp maven/jruby-complete/target/jruby-complete-9000.dev-SNAPSHOT.jar org.jruby.Main bin/jgem install jbundler GEM_HOME=asd GEM_PATH=asd java -cp lib/jruby.jar:maven/jruby-stdlib/target/jruby-stdlib-9000.dev-SNAPSHOT.jar -Djruby.home=uri:classloader:/META-INF/jruby.home org.jruby.Main bin/jgem install jbundler GEM_HOME=asd GEM_PATH=asd java -cp lib/jruby.jar:maven/jruby-stdlib/target/jruby-stdlib-9000.dev-SNAPSHOT.jar org.jruby.Main bin/jgem install jbundler GEM_HOME=asd GEM_PATH=asd java -cp lib/jruby.jar:maven/jruby-stdlib/target/jruby-stdlib-9000.dev-SNAPSHOT.jar -Djruby.home=. org.jruby.Main bin/jgem install jbundler GEM_HOME=asd GEM_PATH=asd java -cp maven/jruby-complete/target/jruby-complete-9000.dev-SNAPSHOT.jar -Djruby.home=. org.jruby.Main bin/jgem install jbundler works:GEM_HOME=asd GEM_PATH=asd java -cp lib/jruby.jar:maven/jruby-stdlib/target/jruby-stdlib-9000.dev-SNAPSHOT.jar -Djruby.home=classpath:/META-INF/jruby.home org.jruby.Main bin/jgem install jbundler GEM_HOME=asd GEM_PATH=asd java -cp maven/jruby-complete/target/jruby-complete-9000.dev-SNAPSHOT.jar -Djruby.home=classpath:/META-INF/jruby.home org.jruby.Main bin/jgem install jbundler using jruby-openssl-0.9.6-SNAPSHOT.gemERROR: While executing gem ... (OpenSSL::X509::StoreError)
GEM_HOME=asd GEM_PATH=asd java -cp maven/jruby-complete/target/jruby-complete-9000.dev-SNAPSHOT.jar org.jruby.Main bin/jgem install jbundler GEM_HOME=asd GEM_PATH=asd java -cp lib/jruby.jar:maven/jruby-stdlib/target/jruby-stdlib-9000.dev-SNAPSHOT.jar org.jruby.Main bin/jgem install jbundler java.lang.RuntimeException
GEM_HOME=asd GEM_PATH=asd java -cp lib/jruby.jar:maven/jruby-stdlib/target/jruby-stdlib-9000.dev-SNAPSHOT.jar -Djruby.home=uri:classloader:/META-INF/jruby.home org.jruby.Main bin/jgem install jbundler ERROR: Could not find a valid gem 'jbundler' (>= 0), here is why:
GEM_HOME=asd GEM_PATH=asd java -cp lib/jruby.jar:maven/jruby-stdlib/target/jruby-stdlib-9000.dev-SNAPSHOT.jar -Djruby.home=. org.jruby.Main bin/jgem install jbundler conclusionit depends on which jruby home is used what works or not. the scenario I used was basically the two jar files from jruby-jars.gem or jruby-complete or bin/jruby from filesystem. the reason jruby.home=classpath:/META-INF/jruby.home works is that Dir globs do not work and then no pem will be found inside the jruby.home and none will be added to X509Store !! on set of errors is related to jruby/jruby-openssl#11 the other is the mismatched hostname with certificate. the last error with uri:classloader: is fixed by #2027 |
We are using jruby-openssl 0.9.5 on master. However it just recently started failing because some code tries to access ChannelDescriptor, a class removed on JRuby master.
Attempting to install a gem with a clean build produces errors like this:
If I try to use 0.9.6.dev-SNAPSHOT I get an error indicating a bug in 0.9.6:
JRuby master is currently broken for gem installs and anything using OpenSSL as a result.
Pinging @mkristian and @kares since they have been working on OpenSSL lately.
The text was updated successfully, but these errors were encountered: