Search code examples
rubyrubygemsrbenv

How can i change ruby version to default on mac os x?


I installed rbenv with brew but when i uninstall it nothing changes. Here is output:

$ which -a ruby
/usr/local/var/rbenv/shims/ruby
/usr/local/bin/ruby
/usr/bin/ruby

Solution

  • Take a look at this issue

    If you used Homebrew, then brew uninstall rbenv.

    rm -rf ~/.rbenv and then remove whatever you added to your shell's start-up files.