Created
December 20, 2011 01:22
-
-
Save nahi/1499760 to your computer and use it in GitHub Desktop.
Let me in!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/ruby/site_ruby/1.8/rubygems/package/tar_input.rb b/lib/ruby/site_ruby/1.8/rubygems/package/tar_input.rb | |
index 5ac93ff..c637a71 100644 | |
--- a/lib/ruby/site_ruby/1.8/rubygems/package/tar_input.rb | |
+++ b/lib/ruby/site_ruby/1.8/rubygems/package/tar_input.rb | |
@@ -212,7 +212,7 @@ class Gem::Package::TarInput | |
# times. And that's the way it is. | |
def zipped_stream(entry) | |
- if defined? Rubinius or defined? Maglev then | |
+ if true | |
# these implementations have working Zlib | |
zis = Zlib::GzipReader.new entry | |
dis = zis.read |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment