or Create a profile
15 Nov, 2010 10:15 PM
I'm getting warnings in rubygems. The warning is this:
rubygems/gem_openssl.rb:45: warning: possibly useless use of :: in void context
Here is the patch I used to fix, but maybe a different patch would be better:
diff --git a/lib/rubygems/gem_openssl.rb b/lib/rubygems/gem_openssl.rb
index ade9564..029094d 100644
@@ -42,7 +42,7 @@ begin
# Reference a constant defined in the .rb portion of ssl (just to
# make sure that part is loaded too).
+ _ = OpenSSL::Digest::SHA1
Gem.ssl_available = true
on 16 Nov, 2010 03:24 AM
Added John to this discussion.
on 16 Nov, 2010 05:36 AM
Gem.ssl_available = !!OpenSSL::Digest::SHA1
At the risk of being "too clever" (aka, dumb).
on 17 Nov, 2010 07:25 AM
I'm on it.
Formatting help /
(switch to plain text)
(switch to Markdown)
You can attach files up to 10MB
If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.
A conversation has been started with the RubyGems.org staff to resolve this discussion.
This discussion is private.
Only you and RubyGems.org support staff can see and reply to it.
This discussion is public. Everyone can see and reply to it.
You can use Command ⌘ instead of Control ^ on Mac
Powered by Tender™.