I want to remove the existing Rubies and all their gems for a clean install. I have removed Rails, Ruby and RVM, but running
ruby -v
still shows:
ruby 2.0.0p353 (2013-11-22 revision 43784) [x86_64-linux]
which ruby
shows /usr/local/bin/ruby
, and gem env
shows
RubyGems Environment:
- RUBYGEMS VERSION: 2.0.14
- RUBY VERSION: 2.0.0 (2013-11-22 patchlevel 353) [x86_64-linux]
- INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/2.0.0
- RUBY EXECUTABLE: /usr/local/bin/ruby
- EXECUTABLE DIRECTORY: /usr/local/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86_64-linux
- GEM PATHS:
- /usr/local/lib/ruby/gems/2.0.0
- /home/akhil/.gem/ruby/2.0.0
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- https://rubygems.org/
which ruby
will help. Because it's an older version of Ruby I suspect it wasn't installed from source, but we won't know without more information.gem env
might also help. Append the output of both of those to your question by editing it and pasting the text in. Indent it by four spaces so it's properly formatted.