Ruby 3.4 リファレンスマニュアル

module function Gem.#path

path -> ArrayRuby 1.9.3 から[permalink][rdoc][edit]

Gem を検索するパスの配列を返します。