summaryrefslogtreecommitdiff
path: root/lib/rubygems/validator.rb
diff options
context:
space:
mode:
-rw-r--r--lib/rubygems/validator.rb2
1 files changed, 1 insertions, 1 deletions
@@ -94,7 +94,7 @@ class Gem::Validator
next unless gems.include? gem_spec.name unless gems.empty?
install_dir = gem_spec.installation_path
- gem_path = File.join install_dir, "cache", gem_spec.file_name
spec_path = File.join install_dir, "specifications", gem_spec.spec_name
gem_directory = gem_spec.full_gem_path