このマニュアルは既にメンテナンスが終了したバージョンの Ruby を対象としています。 最新版のマニュアルへ

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

instance method Gem::Uninstaller#remove_executables

remove_executables(gemspec)[permalink][rdoc]

与えられた Gem::Specification に対応する実行ファイルを削除します。

[PARAM] gemspec:
アンインストール指定されている Gem の Gem::Specification を指定します。