[rubygems/rubygems] Update lib/rubygems/package.rb
https://github.com/rubygems/rubygems/commit/c4e75b9f74
This commit is contained in:
parent
d950609ec7
commit
d7ba0fec49
@ -715,7 +715,7 @@ EOM
|
|||||||
raise Gem::Package::FormatError.new(e.message, entry.full_name)
|
raise Gem::Package::FormatError.new(e.message, entry.full_name)
|
||||||
end
|
end
|
||||||
|
|
||||||
if RUBY_ENGINE == "truffleruby" && RUBY_ENGINE_VERSION < "23.1.2"
|
if RUBY_ENGINE == "truffleruby"
|
||||||
def copy_stream(src, dst) # :nodoc:
|
def copy_stream(src, dst) # :nodoc:
|
||||||
dst.write src.read
|
dst.write src.read
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user