Hi

Anyone know how to prevent the following output from JRuby when  
loading the jruby-openssl gem?

/opt/local/share/java/jruby/lib/ruby/site_ruby/1.8/rubygems/ 
custom_require.rb:32 warning: already initialized constant  
UNIVERSAL_TAG_NAME
/opt/local/share/java/jruby/lib/ruby/site_ruby/1.8/rubygems/ 
custom_require.rb:32 warning: already initialized constant EOC
/opt/local/share/java/jruby/lib/ruby/site_ruby/1.8/rubygems/ 
custom_require.rb:32 warning: already initialized constant BOOLEAN
/opt/local/share/java/jruby/lib/ruby/site_ruby/1.8/rubygems/ 
custom_require.rb:32 warning: already initialized constant INTEGER
/opt/local/share/java/jruby/lib/ruby/site_ruby/1.8/rubygems/ 
custom_require.rb:32 warning: already initialized constant BIT_STRING

...blah blah blah for more lines than I care to count...


I've tried everything I can, including borrowing some ActiveSupport  
code and doing pretty much everything apart from cutting its tongue  
out, smothering it with a pillow and weighting it to the bottom of a  
very deep lake*:

silence_warnings do
   silence_stream(STDOUT) do
     silence_stream(STDERR) do
       gem "jruby-openssl" # and it still makes a noise
     end
   end
end

I'm on Leopard, running this:
% jruby -v
jruby 1.1.3 (ruby 1.8.6 patchlevel 114) (2008-08-20 rev 6586) [i386- 
java]
% jgem list jruby-openssl
jruby-openssl (0.3)


Thanks for any help

Ashley


* Yes, it's really doing my tree in now

-- 
http://www.patchspace.co.uk/
http://aviewfromafar.net/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"NWRUG" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/nwrug-members?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to