diff options
| -rw-r--r-- | lib/rubygems/test_utilities.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/test_utilities.rb b/lib/rubygems/test_utilities.rb index a41b2246ca..3bbe68ca0c 100644 --- a/lib/rubygems/test_utilities.rb +++ b/lib/rubygems/test_utilities.rb @@ -39,7 +39,7 @@ class Gem::FakeFetcher end def find_data(path, nargs = 3) - return File.read path.path if URI === path and 'file' == path.scheme + return Gem.read_binary path.path if URI === path and 'file' == path.scheme if URI === path and "URI::#{path.scheme.upcase}" != path.class.name raise ArgumentError, |
