rubygems - How to uninstall rvm, ruby, rails and gems. I'm getting errors on Mavericks -


i'm new on ruby on rails , have problems configuration. don't know do. installed many times ruby, rails , gems because report problems. read lot of questions on stack overflow , nothing solve. try uninstalling , have errors when trying remove gems, :

i report problems on terminal , don't know how send log, etc.. it's correct uninstall:

remove gems: $ gem clean -uninstall ruby: $ rvm uninstall ruby (#this uninstall ruby's installed?) or need: -uninstall version:

$ rvm uninstall 2.1.0  

and others version 2.0.0 , 2.1.1

-uninstall rvm:

$ rvm repair $ rvm cleanup $ rvm implode 

and install again!?

when try have this:

macbook-pro-de-romenig:~ romenig$ gem clean cleaning installed gems... clean complete macbook-pro-de-romenig:~ romenig$ cd ~ macbook-pro-de-romenig:~ romenig$ ruby -v ruby 2.0.0p247 (2013-06-27 revision 41674) [universal.x86_64-darwin13] macbook-pro-de-romenig:~ romenig$ ruby lis ruby: no such file or directory -- lis (loaderror) macbook-pro-de-romenig:~ romenig$ ruby list ruby: no such file or directory -- list (loaderror) macbook-pro-de-romenig:~ romenig$ ruby list ruby: no such file or directory -- list (loaderror) macbook-pro-de-romenig:~ romenig$ rvm ruby list please note `rvm ruby ...` removed, try `ruby list ` or `rvm ruby list ` instead. ( see: 'rvm usage' ) macbook-pro-de-romenig:~ romenig$ gem list  *** local gems ***  bundler (1.5.3) cfpropertylist (2.2.0) libxml-ruby (2.6.0) nokogiri (1.5.6) sqlite3 (1.3.7) macbook-pro-de-romenig:~ romenig$ gem clean cleaning installed gems... clean complete macbook-pro-de-romenig:~ romenig$ rvm uninstall ruby please note `rvm ruby ...` removed, try `ruby  ` or `rvm ruby  ` instead. ( see: 'rvm usage' ) macbook-pro-de-romenig:~ romenig$ rvm list  rvm rubies     ruby-2.0.0-p353 [ x86_64 ]  * ruby-2.1.0 [ x86_64 ]    ruby-2.1.1 [ missing bin/ruby ]    ruby-2.1.1-rails [ x86_64 ]  # => - current # =* - current && default #  * - default  macbook-pro-de-romenig:~ romenig$ rvm uninstall ruby must root run tool. must root run tool. must root run tool. must root run tool. macbook-pro-de-romenig:~ romenig$ sudo rvm uninstall ruby password: url not uninstallable: ruby url not uninstallable: ruby url not uninstallable: ruby url not uninstallable: ruby macbook-pro-de-romenig:~ romenig$ rvm uninstall 2.1.0 ruby-2.1.0 - #removing rubies/ruby-2.1.0.......................................| error running '__rvm_rm_rf /users/romenig/.rvm/rubies/ruby-2.1.0', showing last 15 lines of /users/romenig/.rvm/log/1395265139_ruby-2.1.0/remove.rubies.log rm: /users/romenig/.rvm/rubies/ruby-2.1.0/lib/ruby/gems/2.1.0/gems/tzinfo-0.3.39/test/ts_all.rb: permission denied rm: /users/romenig/.rvm/rubies/ruby-2.1.0/lib/ruby/gems/2.1.0/gems/tzinfo-0.3.39/test: permission denied rm: /users/romenig/.rvm/rubies/ruby-2.1.0/lib/ruby/gems/2.1.0/gems/tzinfo-0.3.39/tzinfo.gemspec: permission denied rm: /users/romenig/.rvm/rubies/ruby-2.1.0/lib/ruby/gems/2.1.0/gems/tzinfo-0.3.39: directory not empty rm: /users/romenig/.rvm/rubies/ruby-2.1.0/lib/ruby/gems/2.1.0/gems: directory not empty rm: /users/romenig/.rvm/rubies/ruby-2.1.0/lib/ruby/gems/2.1.0: directory not empty rm: /users/romenig/.rvm/rubies/ruby-2.1.0/lib/ruby/gems: directory not empty rm: /users/romenig/.rvm/rubies/ruby-2.1.0/lib/ruby: directory not empty rm: /users/romenig/.rvm/rubies/ruby-2.1.0/lib: directory not empty rm: /users/romenig/.rvm/rubies/ruby-2.1.0: directory not empty ++ typeset ret=1 ++ rvm_debug '__rvm_rm_rf error removing target dir '\''/users/romenig/.rvm/rubies/ruby-2.1.0'\''.' ++ ((  0  )) ++ return 0 ++ return 1 

my rmv info:

macbook-pro-de-romenig:~ romenig$ rvm info  system:    system:     uname:       "darwin macbook-pro-de-romenig.local 13.1.0 darwin kernel version 13.1.0: thu jan 16 19:40:37 pst 2014; root:xnu-2422.90.20~2/release_x86_64 x86_64"     system:      "osx/10.9/x86_64"     bash:        "/bin/bash => gnu bash, version 3.2.51(1)-release (x86_64-apple-darwin13)"     zsh:         "/bin/zsh => zsh 5.0.2 (x86_64-apple-darwin13.0)"    rvm:     version:      "rvm 1.25.20 (master) wayne e. seguin <wayneeseguin@gmail.com>, michal papis <mpapis@gmail.com> [https://rvm.io/]"     updated:      "3 hours 21 minutes 47 seconds ago"     path:         "/users/romenig/.rvm"    homes:     gem:          "not set"     ruby:         "not set"    binaries:     ruby:         "/usr/bin/ruby"     irb:          "/usr/bin/irb"     gem:          "/usr/bin/gem"     rake:         "/usr/bin/rake"    environment:     path:         "/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/mysql/bin:/users/romenig/.rvm/bin"     gem_home:     ""     gem_path:     ""     my_ruby_home: ""     irbrc:        ""     rubyopt:      ""     gemset:       ""   $ gem list  *** local gems ***  bundler (1.5.3) cfpropertylist (2.2.0) libxml-ruby (2.6.0) nokogiri (1.5.6) sqlite3 (1.3.7)  rvm gemset list  gemsets system (found in /users/romenig/.rvm/gems/system) => (default)    * 

just delete rvm folder (to remove rvm, rubies, gems etc.)

rm -rf ~/.rvm  

or

rvm implode 

Comments

Popular posts from this blog

php - Magento - Deleted Base url key -

javascript - Tooltipster plugin not firing jquery function when button or any click even occur -

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -