Search code examples
ruby-on-railsrubyrbenv

Where is rbenv installed on mac?


I'm trying to uninstall rbenv on my mac but can't figure out where it's installed. I'm stuck at step 2 on https://github.com/sstephenson/rbenv#uninstalling-rbenv. I think I used homebrew to install rbenv.


Solution

  • Please note the quote in the command of Step 2 is a backtick(on keyboard, it is the key right ubove tab key), not a quotation sign.

    `rbenv root`  # this command will return the root directory where rbenv installed.
    rm -rf `rbenv root`  # this will uninstall rbenv completed.