I'm using:
jruby 1.7.19 (2.0.0p598) 2015-01-29 20786bd on Java HotSpot(TM) 64-Bit Server VM 1.8.0-b132 +jit [darwin-x86_64]
I inserted this code into IRB:
require 'net/http'
Net::HTTP.get(URI('https://rails-assets.org/'))
I got this error:
Java::JavaLang::RuntimeException: Could not generate DH keypair
from sun.security.ssl.Handshaker.checkThrown(Handshaker.java:1362)
from sun.security.ssl.SSLEngineImpl.checkTaskThrown(SSLEngineImpl.java:529)
from sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:807)
from sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:775)
from javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:624)
from org.jruby.ext.openssl.SSLSocket.readAndUnwrap(SSLSocket.java:550)
from org.jruby.ext.openssl.SSLSocket.doHandshake(SSLSocket.java:430)
from org.jruby.ext.openssl.SSLSocket.connectCommon(SSLSocket.java:203)
from org.jruby.ext.openssl.SSLSocket.connect(SSLSocket.java:180)
from org.jruby.ext.openssl.SSLSocket$INVOKER$i$0$0$connect.call(SSLSocket$INVOKER$i$0$0$connect.gen)
from org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:134)
from org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:60)
from org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)
from org.jruby.evaluator.ASTInterpreter.INTERPRET_BLOCK(ASTInterpreter.java:112)
from org.jruby.runtime.Interpreted19Block.evalBlockBody(Interpreted19Block.java:206)
from org.jruby.runtime.Interpreted19Block.yield(Interpreted19Block.java:157)
... 197 levels...
from org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
from org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
from org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:182)
from org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:203)
from org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:326)
from org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:170)
from Users..$_dot_rbenv.versions.jruby_minus_1_dot_7_dot_19.bin.irb.__file__(.rbenv/versions/jruby-1.7.19/bin/irb:13)
from Users..$_dot_rbenv.versions.jruby_minus_1_dot_7_dot_19.bin.irb.load(.rbenv/versions/jruby-1.7.19/bin/irb)
from org.jruby.Ruby.runScript(Ruby.java:866)
from org.jruby.Ruby.runScript(Ruby.java:859)
from org.jruby.Ruby.runNormally(Ruby.java:728)
from org.jruby.Ruby.runFromMain(Ruby.java:577)
from org.jruby.Main.doRunFromMain(Main.java:395)
from org.jruby.Main.internalRun(Main.java:290)
from org.jruby.Main.run(Main.java:217)
from org.jruby.Main.main(Main.java:197)
This is problematic if you got rails-assets in the bundler gemfile.
rubygems/bundler#3588
I'm using:
jruby 1.7.19 (2.0.0p598) 2015-01-29 20786bd on Java HotSpot(TM) 64-Bit Server VM 1.8.0-b132 +jit [darwin-x86_64]
I inserted this code into IRB:
I got this error:
This is problematic if you got rails-assets in the bundler gemfile.
rubygems/bundler#3588