Ruby 3.1 リファレンスマニュアル > ライブラリ一覧 > rubygems/uninstallerライブラリ > Gem::Uninstallerクラス > bin_dir
bin_dir -> String
Gem でインストールされたコマンドのあるディレクトリを返します。