已经在jruby-openssl中初始化了常量 [英] Already initialized constant in jruby-openssl
本文介绍了已经在jruby-openssl中初始化了常量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在torquebox上运行我的rails应用程序时,我得到很多
When running my rails application on torquebox, I get a lot of
already initialized constant: ...
来自gems/jruby-openssl-0.8.2/lib/shared/jruby-openssl.rb:16
的
警告.这是安全问题吗?有什么方法可以消除这些警告?
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?
推荐答案
我终于可以通过完全删除该宝石来摆脱它.根据此源,jruby-openssl现在被直接拉入jruby项目,而不是不再需要作为宝石.
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.
这篇关于已经在jruby-openssl中初始化了常量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文