From the RVM support site:
RVM installs everything into ~/.rvm. To remove RVM from your system run ‘rm -rf ~/.rvm’. You may have one additional config file in ~/.rvmrc and of course the RVM hook in your bash/zsh startup files.
So, just go to the command line and type rm -rf ~/.rvm
All the installed gems are in the ~/.rvm folders, so doing the above will remove the gems and installed rubies in one go.
Gems you added pre-RVM with the default ruby install can be removed by typing this at the command prompt:
for x in `gem list --no-versions`; do gem uninstall $x -a -x -I; done
Related Posts:
- Ruby: How to install a specific version of a ruby gem?
- Rails syntax error : unexpected keyword_ensure, expecting end-of-input
- RVM is not a function, selecting rubies with ‘rvm use …’ will not work
- How to Uninstall RVM? [duplicate]
- ERROR: While executing gem … (Gem::FilePermissionError)
- Get underlined text with Markdown
- What is the meaning of *nix?
- Get underlined text with Markdown
- What does the “map” method do in Ruby?
- You don’t have write permissions for the /Library/Ruby/Gems/2.3.0 directory
- You don’t have write permissions for the /Library/Ruby/Gems/2.3.0 directory. (mac user)
- You don’t have write permissions for the /Library/Ruby/Gems/2.3.0 directory. (mac user)
- How to write a switch statement in Ruby
- Rails 5 ActionController::InvalidAuthenticityToken error
- what does ? ? mean in ruby
- How to update Ruby Version 2.0.0 to the latest version in Mac OSX Yosemite?
- What does %w(array) mean?
- How to update Ruby with Homebrew?
- How to use “gets” and “gets.chomp” in Ruby
- Getting a substring in Ruby by x number of chars
- How to check whether a string contains a substring in Ruby
- ruby operator “=~” [duplicate]
- What is attr_accessor in Ruby?
- ActionController::UnknownFormat
- What does ||= (or-equals) mean in Ruby?
- How to read lines of a file in Ruby
- Array to Hash Ruby
- How do I remove Permission denied @ rb_sysopen – Gem install error?
- Ruby: undefined method `[]’ for nil:NilClass when trying to get Enumerator on an Array of Hashes
- How to map with index in Ruby?
- Ruby equivalent for Python’s “try”?
- What does “+=” (plus equals) mean?
- Rails 4 RoutingError: No Route Matches
- How to sum array of numbers in Ruby?
- Ruby array to string conversion
- How to check if a value exists in an array in Ruby
- undefined method (NoMethodError) ruby
- Multi-Line Comments in Ruby?
- How to uninstall ruby installed by ruby-install
- PG::ConnectionBad – could not connect to server: Connection refused
- Ruby `send` vs `call` method
- What is the meaning of “do | |” in Ruby?
- How to delete specific characters from a string in Ruby?
- Ruby: kind_of? vs. instance_of? vs. is_a?
- Rails: I installed Ruby, now “bundle install” doesn’t work
- How to do a newline in output
- Ruby: What is the easiest way to remove the first element from an array?
- Ruby String to Date Conversion
- p vs puts in Ruby
- Determining type of an object in ruby
- Fizz Buzz in Ruby for dummies
- What is the “right” way to iterate through an array in Ruby?
- What is the difference between a Process’ pid, ppid, uid, euid, gid and egid?
- Equivalent of “continue” in Ruby
- What does the Ruby method ‘to_sym’ do?
- Difference between map and collect in Ruby?
- Creating and iterating a 2d array in Ruby
- What is the best way to convert an array to a hash in Ruby
- Purge or recreate a Ruby on Rails database
- Ruby 2.0.0p0 IRB warning: “DL is deprecated, please use Fiddle”
- Getting error: dyld: Symbol not found: _clock_gettime
- Uninstall old versions of Ruby gems
- Uploading a file in Rails
- What is java interface equivalent in Ruby?
- Sort hash by key, return hash in Ruby
- Gem installation error: You have to install development tools first
- An error occurred while installing json (1.8.1), and Bundler cannot continue – Rails
- How to understand strptime vs. strftime
- How can I delete one element from an array by value
- How to break out from a ruby block?
- No such file or directory @ rb_sysopen ruby
- How to add to an existing hash in Ruby
- Ruby ‘require’ error: cannot load such file
- How to convert a string to lower or upper case in Ruby
- What is the canonical way to trim a string in Ruby without creating a new string?
- Difference between $stdout and STDOUT in Ruby
- No implicit conversion of String into Integer (TypeError)?
- Multi-Line Comments in Ruby?
- bash: pip: command not found
- bash: pip: command not found
- How to uninstall pip on OSX?
- How to uninstall Anaconda completely from macOS
- ImportError: No module named pip
- ImportError: No module named pip
- How do I install pip on macOS or OS X?
- How do I install pip on macOS or OS X?
- Git is not working after macOS Update (xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)
- Enable OpenMP support in clang in Mac OS X (sierra & Mojave)
- Git is not working after macOS Update (xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)
- How can I run python in terminal on a mac?
- Where to place $PATH variable assertions in zsh?
- Enable OpenMP support in clang in Mac OS X (sierra & Mojave)
- ImportError: No module named pandas. Pandas installed pip
- ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’
- No “Proceed Anyway” option on NET::ERR_CERT_INVALID in Chrome on MacOS
- Could not install packages due to a “Environment error :[error 13]: permission denied : ‘usr/local/bin/f2py'”
- Could not install packages due to an EnvironmentError:
- Xcode is not currently available from the Software Update server
- How to view / open a calculator in mac OS X?
- Xcode is not currently available from the Software Update server