问题
When running my rails application on torquebox, I get a lot of
already initialized constant: ...
warnings that originate from gems/jruby-openssl-0.8.2/lib/shared/jruby-openssl.rb:16
. Is this a security problem? Is there any way to get rid of these warnings?
回答1:
I could finally get rid of it by removing the gem altogether. According to this source, jruby-openssl is now directly pulled into the jruby project and is not needed anymore as gem.
Thanks everyone for looking into this with me.
回答2:
I am no longer getting these errors after adding the following to my line in Gemfile.
gem 'jruby-openssl', :require => false
I hope this helps out.
来源:https://stackoverflow.com/questions/14498513/already-initialized-constant-in-jruby-openssl