Modified: MacRuby/branches/icu/lib/rubygems/remote_fetcher.rb (3723 => 3724)
--- MacRuby/branches/icu/lib/rubygems/remote_fetcher.rb 2010-03-10 01:54:21 UTC (rev 3723)
+++ MacRuby/branches/icu/lib/rubygems/remote_fetcher.rb 2010-03-10 01:54:46 UTC (rev 3724)
@@ -263,9 +263,7 @@
if data.nil?
raise Gem::RemoteFetcher::FetchError, "error when fetching data from #{uri}"
end
- string = String.__new_bytestring__(data)
- #block.call(string) if block
- return string
+ return String.new(data)
end
raise "block is dead" if block_given?