thorのuninstall方法
thorの(un)installにはファイル名を指定する必要がある。
で、installしたときのファイル名を知りたいときは、ユーザホームディレクトリの下に.thorというのができており、その下のthor.ymlを見ればよい。
bash-3.2$ cat ~/.thor/thor.yml sample.thor: :filename: ef6ccd1771b772484c388c4bf188a5b0 :location: /opt/local/repos/ruby/thor/sample.thor :namespaces: - sample_app find.thor: :filename: 69c4149b0e88938fa681d8cc05b4bde4 :location: /opt/local/repos/ruby/thor/find.thor :namespaces: - f bash-3.2$ t uninstall sample.thor Uninstalling sample.thor. Done. bash-3.2$ t list f - thor f:c NAME # find in current directory thor f:g NAME # find in gem home bash-3.2$
ちなみに私の環境は alias t="thor"としています。