[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

gem uninstall activesupport specific version - how to?

Ram

5/11/2009 10:36:00 AM

Hi,

I have 3 versions of activesupport installed on my machine (2.2.2,
2.1.0, 1.4.4). Im looking to uninstall 2.2.2.

I did 'gem uninstall activesupport' thinking it will give me options
to choose which version I want to uninstall (as is the example shown
here http://rubygems.org/read/chapter....

But it just defaulted to 2.1.0 and showed me the dependent gems and
asked if I was sure i wanted to remove 2.1.0.

How do I uninstall 2.2.2 specifically?
1 Answer

Jonathan Groll

5/11/2009 2:58:00 PM

0

On Mon, May 11, 2009 at 07:40:09PM +0900, Ram wrote:
>Hi,
>
>I have 3 versions of activesupport installed on my machine (2.2.2,
>2.1.0, 1.4.4). Im looking to uninstall 2.2.2.
>
>I did 'gem uninstall activesupport' thinking it will give me options
>to choose which version I want to uninstall (as is the example shown
>here http://rubygems.org/read/chapter....
>
>But it just defaulted to 2.1.0 and showed me the dependent gems and
>asked if I was sure i wanted to remove 2.1.0.
>
>How do I uninstall 2.2.2 specifically?

from "gem help uninstall":
-v, --version VERSION Specify version of gem to uninstall
so:
gem uninstall activesupport -v 2.2.2