Tell me more ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am trying to completely remove my Ruby & Rails installation.

After uninstalling ruby with apt-get remove ruby1.9.1 I see that all the ruby stuff (ruby,rake,irb) from /usr/bin was removed but the gems remain here:

/var/lib/gems/1.9.1/gems

What's the best way to remove these? Again, I want to uninstall everything so I can try this install again.

rm -r /var/lib/gems/ ???

share|improve this question
apt-get remove --purge might be what you are looking for – befreeandgood Feb 11 at 18:15
Thanks. Tried that, too. Still the gems persist... – Slinky Feb 11 at 19:52
Does dpkg -S /path/to/gemfile show any package? – befreeandgood Feb 11 at 23:48

1 Answer

After arm wrestling with this for most of the day, I uninstalled everything, installed RVM and then installed Ruby and Rails with RVM. Much, much better.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.