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:
parent
60d3f9ef9f
commit
eb35124cca
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue