Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Already initialized constant in jruby-openssl

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?

like image 280
panmari Avatar asked Jan 24 '13 10:01

panmari


2 Answers

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.

like image 160
panmari Avatar answered Oct 22 '22 14:10

panmari


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.

like image 41
Jeff Ancel Avatar answered Oct 22 '22 12:10

Jeff Ancel