fix OpenSSL JRuby loading bug on Travis

The error was:

    NameError: uninitialized constant OpenSSL::OPENSSL_VERSION

It seems to choke when "openssl" is required in a thread.
Not always, though.
This commit is contained in:
Mislav Marohnić 2012-08-16 14:06:39 +02:00
parent e8a50ed068
commit b0d9a14459

View File

@ -51,6 +51,7 @@ ensure
end
server = nil
require 'openssl' # for JRuby 1.6.7.2 in 1.9 mode on Travis
Thread.abort_on_exception = true