Method: Gem::BasicSpecification#gem_dir

Defined in:
lib/rubygems/basic_specification.rb

#gem_dirObject

Returns the full path to this spec’s gem directory. eg: /usr/local/lib/ruby/1.8/gems/mygem-1.0

TODO: This is duplicated with #full_gem_path. Eventually either of them should be deprecated.



220
221
222
# File 'lib/rubygems/basic_specification.rb', line 220

def gem_dir
  @gem_dir ||= find_full_gem_path
end