Note that there are some explanatory texts on larger screens.

plurals
  1. POUninstalling rails and gems, getting error "cannot uninstall, check 'gem list -d ...'
    primarykey
    data
    text
    <p>I'm going to start with the usual noob line, "I'm new to rails". Oh, and I'm running Mac OSX 10.6.4</p> <p>I've been following a bunch of guides to get set up, specifically these two <a href="http://www.robbyonrails.com/articles/2010/02/08/installing-ruby-on-rails-passenger-postgresql-mysql-oh-my-zsh-on-snow-leopard-fourth-edition/" rel="noreferrer">here</a> and <a href="http://spyrestudios.com/setting-up-a-rails-development-system-on-mac-osx-snow-leopard/" rel="noreferrer">here</a>. The guides are great, the reason I'm using the second one is because of RVM and the reason I'm using the first is for MYSQL.</p> <p>Anyway, when I started, I wasn't following the directions completely and so after I installed RVM, for some reason I installed rails with <code>sudo gem install rails -v 2.3.8</code> because thats the version I need. So... I realized I was using the system ruby, and wasn't taking advantage of RVM. What I did now was install Ruby 1.9.2 so I can install rails 3 and test it out, and I also installed 1.8.7 and rails 2.3.8 so I can use it for what I need it.</p> <p>Now, I'm trying to uninstall the gems from the system Ruby, but whenever I try to I'm getting this error:</p> <blockquote> <p>ERROR: While executing gem ... (Gem::InstallError)<br> cannot uninstall, check 'gem list -d <strong><em>whatever gem I try to uninstall</em></strong>'</p> </blockquote> <p>Any ideas on how to remove rails and all these gems? I just want to start from scratch with RVM.</p> <hr> <p><strong>UPDATE:</strong></p> <p>By running the command <code>gem list -d rails</code> I've located the gems in /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/18. Should I delete them manually?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload