Odd issue w/ JRuby 9k + Travis CI


#1

Hello,

We’re trying to get our project to build on Travis CI using JRuby 9k. We
have the project successfully building using JRuby1.7.19 on Travis, and
successfully operating locally using JRuby 9k, but on Travis CI, we get
the
following output:

https://gist.github.com/blueboxjesse/8f270ab2c380c709b784

Google-fu has left me with limited results.

Does any one have thoughts on how to solve this?

Jesse P.
Founder and CTO
Blue Box Group, Inc.
w. blueboxcloud.com http://www.blueboxcloud.com
c. 206-778-8777


#2

With the major caveat that I haven’t used jruby 9k yet. Do you have
jruby-openssl installed?

gem install jruby-openssl

On Mon, Mar 2, 2015 at 2:32 PM, Jesse P. removed_email_address@domain.invalid


#3

Added this to our Gemfile and unfortunately still getting the same
result:

gem ‘jruby-openssl’, platforms: :jruby

Jesse P.
Founder and CTO
Blue Box Group, Inc.
w. blueboxcloud.com http://www.blueboxcloud.com/
c. 206-778-8777

On Mon, Mar 2, 2015 at 11:48 AM, Brendan Grainger <


#4

Thanks. I ended up putting a require ‘openssl’ in the boot.rb file right
under require ‘rubygems’ and that resolved it. I’ll find a better place
for
it to live and move on.

Thanks!

Jesse P.
Founder and CTO
Blue Box Group, Inc.
w. blueboxcloud.com http://www.blueboxcloud.com/
c. 206-778-8777


#5

it looks like that the constant OpenSSL isunknown and looked up
relativ inside ActiveMerchant::NetworkConnectionRetries. could you
try to require ‘openssl’ in an early state - inside an initializer or
so.
jruby-openssl does come with jruby itself and there is no real need for
it
in the Gemfile.