Method: LibGems::Specification#installation_path
- Defined in:
- lib/libgems/specification.rb
#installation_path ⇒ Object
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. File.dirname(File.dirname(@loaded_from)) end |