Skip to content

Instantly share code, notes, and snippets.

@nahi
Created December 20, 2011 01:22
Show Gist options
  • Save nahi/1499760 to your computer and use it in GitHub Desktop.
Save nahi/1499760 to your computer and use it in GitHub Desktop.
Let me in!
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