zomです。 タイトル通りです。ただ、ちょっとあれ、って思ったことがあったのでメモ。
$ rvm seppuku Are you SURE you wish for rvm to implode? This will recursively remove /home/zom/.rvm and other rvm traces? (anything other than 'yes' will cancel) > yes Removing rvm-shipped binaries (rvm-prompt, rvm, rvm-sudo rvm-shell and rvm-auto-ruby) Removing rvm wrappers in /home/zom/.rvm/bin Hai! Removing /home/zom/.rvm /home/zom/.rvm has been removed. Note you may need to manually remove /etc/rvmrc and ~/.rvmrc if they exist still. Please check all .bashrc .bash_profile .profile and .zshrc for RVM source lines and delete or comment out if this was a Per-User installation. Also make sure to remove `rvm` group if this was a system installation. Finally it might help to relogin / restart if you want to have fresh environment (like for installing RVM again). $ cd ~ __rvm_do_with_env_before:source:5: そのようなファイルやディレクトリはありません: /home/zom/.rvm/scripts/initialize __rvm_after_cd:source:5: そのようなファイルやディレクトリはありません: /home/zom/.rvm/scripts/hook
ということで、rvm seppukuコマンドを使ってアンインストールをしたわけですが、 その後からcdコマンドを使うとエラーが出るようになってしまいます。 なんだこれは!と焦ったのですが、心配いらないことでした。 rvmは、なんとcdコマンドをオーバーライドしてしまっていたのです。 で、rvmをアンインストールしたことでオーバーライド時に参照していたファイルが消えてエラーになったと。
一回、セッションを繋ぎ直せば(ログアウトして、もう一回ログイン)問題ないです。 あとは英語で書かれている通り、各シェルのxxxrcとかに書いたrvmの記述を自分で消してね、という感じです。
いやー、さすが切腹。潔し。