Multiple Gem Versions Installed?

View: New views
6 Messages — Rating Filter:   Alert me  

Multiple Gem Versions Installed?

by Brian Leonard :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm trying to help a student with and error. Looking at their list of  
installed Gems I see multiple versions installed. How is this possible?

/Brian







---
Brian Leonard
Technology Evangelist
408-404-6884
http://weblogs.java.net/blog/bleonard




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

RubyGemsImg.bmp (1M) Download Attachment

Re: Multiple Gem Versions Installed?

by Tor Norbye :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Apr 23, 2008, at 11:01 AM, Brian Leonard wrote:

> I'm trying to help a student with and error. Looking at their list  
> of installed Gems I see multiple versions installed. How is this  
> possible?

I think that's how rubygems works - when you update a gem, it doesn't  
uninstall the old version, it just also installs the new version.

I have lots of versions installed:

% gem list --local

*** LOCAL GEMS ***

actionmailer (2.0.2, 2.0.1, 1.3.6, 1.3.5, 1.3.4, 1.3.3)
actionpack (2.0.2, 2.0.1, 1.13.6, 1.13.5, 1.13.4, 1.13.3, 1.12.5)
actionwebservice (1.2.6, 1.2.5, 1.2.4, 1.2.3, 1.1.6)
activerecord (2.0.2, 2.0.1, 1.15.6, 1.15.5, 1.15.4, 1.15.3, 1.14.4)
ActiveRecord-JDBC (0.5, 0.4, 0.3.1, 0.2.3)
activerecord-jdbc-adapter (0.8, 0.7.2, 0.7.1, 0.7)
activeresource (2.0.2, 2.0.1)
activesupport (2.0.2, 2.0.1, 1.4.4, 1.4.3, 1.4.2, 1.3.1)
....
etc.

-- Tor


>
>
> /Brian
>
> <RubyGemsImg.bmp>
>
>
>
> ---
> Brian Leonard
> Technology Evangelist
> 408-404-6884
> http://weblogs.java.net/blog/bleonard
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Multiple Gem Versions Installed?

by Erno Mononen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I guess he/she just updated the gems that have multiple version
installed, updating a gem doesn't remove the old versions of it. Running
'gem cleanup' should get rid of the old versions, though I think you
can't do that from the IDE.

Erno

Brian Leonard wrote:

> I'm trying to help a student with and error. Looking at their list of
> installed Gems I see multiple versions installed. How is this possible?
>
> /Brian
>
>
>
>
> ---
> Brian Leonard
> Technology Evangelist  
> 408-404-6884
> http://weblogs.java.net/blog/bleonard
>
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Multiple Gem Versions Installed?

by Brian Leonard :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Right and I assume there's no easy way to use an older gem, say Rails  
1.2 (and it's associated older gems) from NetBeans.

/Brian

On Apr 23, 2008, at 4:06 PM, Erno Mononen wrote:

>
> I guess he/she just updated the gems that have multiple version  
> installed, updating a gem doesn't remove the old versions of it.  
> Running 'gem cleanup' should get rid of the old versions, though I  
> think you can't do that from the IDE.
>
> Erno
>
> Brian Leonard wrote:
>> I'm trying to help a student with and error. Looking at their list  
>> of installed Gems I see multiple versions installed. How is this  
>> possible?
>>
>> /Brian
>>
>>
>>
>>
>> ---
>> Brian Leonard
>> Technology Evangelist   408-404-6884
>> http://weblogs.java.net/blog/bleonard
>>
>>
>> ------------------------------------------------------------------------
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@...
>> For additional commands, e-mail: users-help@...
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>



---
Brian Leonard
Technology Evangelist
408-404-6884
http://weblogs.java.net/blog/bleonard



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Multiple Gem Versions Installed?

by Erno Mononen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Not in 6.0 or 6.1, but in the latest dev builds you can specify which
Rails version to use on the last panel of the Rails project wizard.

http://www.netbeans.org/issues/show_bug.cgi?id=127206

Erno


Brian Leonard wrote:

> Right and I assume there's no easy way to use an older gem, say Rails
> 1.2 (and it's associated older gems) from NetBeans.
>
> /Brian
>
> On Apr 23, 2008, at 4:06 PM, Erno Mononen wrote:
>
>>
>> I guess he/she just updated the gems that have multiple version
>> installed, updating a gem doesn't remove the old versions of it.
>> Running 'gem cleanup' should get rid of the old versions, though I
>> think you can't do that from the IDE.
>>
>> Erno
>>
>> Brian Leonard wrote:
>>> I'm trying to help a student with and error. Looking at their list
>>> of installed Gems I see multiple versions installed. How is this
>>> possible?
>>>
>>> /Brian
>>>
>>>
>>>
>>>
>>> ---
>>> Brian Leonard
>>> Technology Evangelist   408-404-6884
>>> http://weblogs.java.net/blog/bleonard
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@...
>>> For additional commands, e-mail: users-help@...
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@...
>> For additional commands, e-mail: users-help@...
>>
>
>
>
> ---
> Brian Leonard
> Technology Evangelist  
> 408-404-6884
> http://weblogs.java.net/blog/bleonard
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Multiple Gem Versions Installed?

by Martin Krauskopf :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Erno Mononen wrote:
>
> I guess he/she just updated the gems that have multiple version
> installed, updating a gem doesn't remove the old versions of it. Running
> 'gem cleanup' should get rid of the old versions, though I think you
> can't do that from the IDE.

You might CC yourself here to be notified:

http://www.netbeans.org/nonav/issues/show_bug.cgi?id=125125

        m.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...