Skip to content

Commit

Permalink
[rubygems/rubygems] Remove TODO comment, there's no Gem::Dirs constant
Browse files Browse the repository at this point in the history
  • Loading branch information
bronzdoc authored and hsbt committed Jul 30, 2019
1 parent 60d3f9e commit eb35124
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rubygems/test_case.rb
Expand Up @@ -673,7 +673,7 @@ def util_remove_gem(spec)
# Removes all installed gems from +@gemhome+.

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.rm_rf File.join(@gemhome, "specifications")
FileUtils.mkdir File.join(@gemhome, "specifications")
Expand Down

0 comments on commit eb35124

Please sign in to comment.