aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/rubygems.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems.rb b/lib/rubygems.rb
index 8e6d8c9636..5faca8695f 100644
--- a/lib/rubygems.rb
+++ b/lib/rubygems.rb
@@ -388,7 +388,7 @@ module Gem
# The mode needed to read a file as straight binary.
def self.binary_mode
- @binary_mode ||= RUBY_VERSION > '1.9' ? 'rb:ascii-8bit' : 'rb'
+ 'rb'
end
##