Skip to content
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

openssl issue with rails and installed default gems #1549

Closed
mkristian opened this Issue Mar 6, 2014 · 4 comments

Comments

Projects
None yet
3 participants
@mkristian
Copy link
Member

commented Mar 6, 2014

when I install the default gems:
krypt, jruby-openssl, bouncy-castle-java
tell bundler via the Gemfile to "use" them, see Gemfile from gist below. this will lead with

Bundler.require
require 'openssl'

to
NameError: uninitialized constant OpenSSL::Digest::OPENSSL_VERSION_NUMBER

the same happens with a fresh rails application, add those gems from the gist to the Gemfile and start rails

$ jruby -S rails server

and it fails with the same error. the workaround here is to add a require 'openssl' before the Bundler.require statement.

the gist gives the steps to reproduce it
https://gist.github.com/anonymous/9394738

the background is the websphere rails app which sees the same errors, all loosely related to jruby/warbler#238, jruby/warbler#241, #1119 #1435 and all regarding websphere

@mkristian

This comment has been minimized.

Copy link
Member Author

commented Nov 10, 2014

it look like I can not reproduce this anymore, better close it now.

@rtyler

This comment has been minimized.

Copy link

commented Nov 10, 2014

Should this be closed now?

@mkristian

This comment has been minimized.

Copy link
Member Author

commented Nov 10, 2014

:)

@mkristian mkristian closed this Nov 10, 2014

@mkristian

This comment has been minimized.

Copy link
Member Author

commented Nov 10, 2014

well, there is still an issue with some classloaders and default gems but this one I just can not reproduce it anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.