Method: LibGems::Specification#installation_path

Defined in:
lib/libgems/specification.rb

#installation_pathObject

The directory that this gem was installed into.



616
617
618
619
620
621
622
# File 'lib/libgems/specification.rb', line 616

def installation_path
  unless @loaded_from then
    raise LibGems::Exception, "spec #{full_name} is not from an installed gem"
  end

  File.expand_path File.dirname(File.dirname(@loaded_from))
end