# Uninstalling the rubygems application

**URL:** <https://www.ruby-forum.com/t/uninstalling-the-rubygems-application/185287>\
**Category:** Ruby\
**Created:** [March 17, 2010, 2:56pm UTC](https://www.ruby-forum.com/t/uninstalling-the-rubygems-application/185287 "2010-03-17T14:56:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jake\_Winston](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/dc4da7/32.png) [@Jake\_Winston](https://www.ruby-forum.com/u/Jake_Winston)\
**Post date:** [March 17, 2010, 2:56pm UTC](https://www.ruby-forum.com/t/uninstalling-the-rubygems-application/185287/1 "2010-03-17T14:56:39Z")

</div>

I have installed the rubygem application (version 1.3.6) on a Debian  
system by downloading the rubygems tar.gz archive and running the  
setup.rb command.

What is the best way to _uninstall_ this application?

---

<div class="post-metadata">

**Author:** ![Jake\_Winston](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/dc4da7/32.png) [@Jake\_Winston](https://www.ruby-forum.com/u/Jake_Winston)\
**Post date:** [March 17, 2010, 9:40pm UTC](https://www.ruby-forum.com/t/uninstalling-the-rubygems-application/185287/2 "2010-03-17T21:40:30Z")

</div>

On Mar 17, 2010, at 06:56, Jake Winston wrote:

> I have installed the rubygem application (version 1.3.6) on a Debian system by downloading the rubygems tar.gz archive and running the setup.rb command.
> 
> What is the best way to _uninstall_ this application?

Run:

Delete `gem which rubygems` and along with ubygems.rb and the rubygems  
directory that will be alongside it.

Delete `gem which rbconfig/datadir`

Delete `which gem`

Optional:

Add this feature to RubyGems.
