RVM のアンインストールコマンド名で笑った

なんか iMac 上の RVM の動作が変。もう、開き直ってクリーンインストールすることにした。
RVM のアンインストールコマンドを探してみたら "implode" と一緒に "seppuku(切腹)"があったのには笑った。

3509:        implode | seppuku)
3536-            source "$rvm_scripts_path/functions/implode";
3594-            __rvm_implode


さっそく切腹。:-)

$ rvm seppuku
Are you SURE you wish for rvm to implode?
This will recursively remove /Users/watanata/.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 /Users/watanata/.rvm/bin
Hai! Removing /Users/watanata/.rvm
/Users/watanata/.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).

動作環境

  • Mac OSX 10.7.5
  • RVM 1.18.21