1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] Remove TODO comment, there's no Gem::Dirs constant

https://github.com/rubygems/rubygems/commit/4bacf577f1
This commit is contained in:
bronzdoc 2019-06-29 23:38:46 -06:00 committed by Hiroshi SHIBATA
parent 60d3f9ef9f
commit eb35124cca
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -673,7 +673,7 @@ class Gem::TestCase < (defined?(Minitest::Test) ? Minitest::Test : MiniTest::Uni
# Removes all installed gems from +@gemhome+. # Removes all installed gems from +@gemhome+.
def util_clear_gems def util_clear_gems
FileUtils.rm_rf File.join(@gemhome, "gems") # TODO: use Gem::Dirs FileUtils.rm_rf File.join(@gemhome, "gems")
FileUtils.mkdir File.join(@gemhome, "gems") FileUtils.mkdir File.join(@gemhome, "gems")
FileUtils.rm_rf File.join(@gemhome, "specifications") FileUtils.rm_rf File.join(@gemhome, "specifications")
FileUtils.mkdir File.join(@gemhome, "specifications") FileUtils.mkdir File.join(@gemhome, "specifications")