# Gem cleanup error

**URL:** <https://www.ruby-forum.com/t/gem-cleanup-error/177843>\
**Category:** Ruby\
**Created:** [October 25, 2009, 7:00am UTC](https://www.ruby-forum.com/t/gem-cleanup-error/177843 "2009-10-25T07:00:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rajinder\_Y](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/91b2a8/32.png) [@Rajinder\_Y](https://www.ruby-forum.com/u/Rajinder_Y)\
**Post date:** [October 25, 2009, 7:00am UTC](https://www.ruby-forum.com/t/gem-cleanup-error/177843/1 "2009-10-25T07:00:37Z")

</div>

When I run cleanup I get an error

yadav@K64x2:$ sudo gem cleanup  
Cleaning up installed gems…  
Attempting to uninstall rack-1.0.0  
ERROR: While executing gem … (Gem::InstallError)  
Unknown gem rack = 1.0.0

How can I fix this? I am told I have rack (1.0.1, 1.0.0) install.

–  
Kind Regards,  
Rajinder Y.

[http://DevMentor.org](http://DevMentor.org)

Do Good! - Share Freely, Enrich and Empower people to Transform their  
lives.

---

<div class="post-metadata">

**Author:** ![Rajinder\_Y](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/91b2a8/32.png) [@Rajinder\_Y](https://www.ruby-forum.com/u/Rajinder_Y)\
**Post date:** [October 25, 2009, 7:12am UTC](https://www.ruby-forum.com/t/gem-cleanup-error/177843/2 "2009-10-25T07:12:19Z")

</div>

Rajinder Y. wrote:

> When I run cleanup I get an error
> 
> yadav@K64x2:$ sudo gem cleanup  
> Cleaning up installed gems…  
> Attempting to uninstall rack-1.0.0  
> ERROR: While executing gem … (Gem::InstallError)  
> Unknown gem rack = 1.0.0
> 
> How can I fix this? I am told I have rack (1.0.1, 1.0.0) install.

Fixed this by installing rack 1.0.0 and rack 1.0.1 over again and then  
running  
cleanup.

–  
Kind Regards,  
Rajinder Y.

[http://DevMentor.org](http://DevMentor.org)

Do Good! - Share Freely, Enrich and Empower people to Transform their  
lives.
