gem_dir(name, version)
The ri directory for the gem with gem_name.
# File lib/rdoc/ri/paths.rb, line 68 def self.gem_dir name, version req = Gem::Requirement.new "= #{version}" spec = Gem::Specification.find_by_name name, req File.join spec.doc_dir, 'ri' end