-
-
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
openssl issue with rails and installed default gems #1549
Labels
Milestone
Comments
it look like I can not reproduce this anymore, better close it now. |
Should this be closed now? |
:) |
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
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
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
The text was updated successfully, but these errors were encountered: