[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

is there any way to update ruby from console on windows??

Khelll Osten

9/21/2007 1:18:00 PM

is there any way to update ruby from console on windows??

something like gem does

gem update

is there something like ruby update??


the issue here is that the one click installer needs u to remove the old
ruby directory and thus removes all the installed gems

and that's tooo stupid and time consuming


any solution?
--
Posted via http://www.ruby-....

2 Answers

Jano Svitok

9/21/2007 1:29:00 PM

0

On 9/21/07, Khelll Osten <khellls@gmail.com> wrote:
> is there any way to update ruby from console on windows??
>
> something like gem does
>
> gem update
>
> is there something like ruby update??
>
>
> the issue here is that the one click installer needs u to remove the old
> ruby directory and thus removes all the installed gems
>
> and that's tooo stupid and time consuming
>
>
> any solution?
> --
> Posted via http://www.ruby-....

There's no ruby update AFAIK. You can work around this by renaming
c:\ruby to something else, installing ruby, then overwrite
C:\ruby\lib\ruby\gems with the old version and call 'gem update' to
fetch the new versions.

Khelll Osten

9/21/2007 1:31:00 PM

0

Jano Svitok wrote:
> On 9/21/07, Khelll Osten <khellls@gmail.com> wrote:
>> ruby directory and thus removes all the installed gems
>>
>> and that's tooo stupid and time consuming
>>
>>
>> any solution?
>> --
>> Posted via http://www.ruby-....
>
> There's no ruby update AFAIK. You can work around this by renaming
> c:\ruby to something else, installing ruby, then overwrite
> C:\ruby\lib\ruby\gems with the old version and call 'gem update' to
> fetch the new versions.

thanks
--
Posted via http://www.ruby-....