Browse Source

Update Ruby 3.0 removed gems list

Per https://github.com/docker-library/ruby/pull/326
Tianon Gravi 5 years ago
parent
commit
b5fcfd737c
1 changed files with 5 additions and 1 deletions
  1. 5 1
      test/tests/ruby-standard-libs/container.rb

+ 5 - 1
test/tests/ruby-standard-libs/container.rb

@@ -157,7 +157,11 @@ if rubyVersion >= Gem::Version.create('3.0')
 	stdlib.delete('tmpdir')
 	stdlib.delete('tsort')
 	stdlib.delete('weakref')
-	stdlib.delete('xmlrpc')
+	stdlib.delete('xmlrpc/client')
+	stdlib.delete('xmlrpc/server')
+	# https://github.com/ruby/ruby/blob/v3_0_0_preview1/NEWS.md#stdlib-compatibility-issues
+	# https://bugs.ruby-lang.org/issues/8446
+	stdlib.delete('sdbm')
 end
 
 result = 'ok'