# Is there any way to update ruby from console on windows?

**URL:** <https://www.ruby-forum.com/t/is-there-any-way-to-update-ruby-from-console-on-windows/115192>\
**Category:** Ruby\
**Created:** [September 21, 2007, 3:17pm UTC](https://www.ruby-forum.com/t/is-there-any-way-to-update-ruby-from-console-on-windows/115192 "2007-09-21T15:17:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![khelll](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/dec6dc/32.png) [@khelll](https://www.ruby-forum.com/u/khelll)\
**Post date:** [September 21, 2007, 3:17pm UTC](https://www.ruby-forum.com/t/is-there-any-way-to-update-ruby-from-console-on-windows/115192/1 "2007-09-21T15:17:39Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![khelll](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/dec6dc/32.png) [@khelll](https://www.ruby-forum.com/u/khelll)\
**Post date:** [September 21, 2007, 3:29pm UTC](https://www.ruby-forum.com/t/is-there-any-way-to-update-ruby-from-console-on-windows/115192/2 "2007-09-21T15:29:54Z")

</div>

On 9/21/07, Khelll O. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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-forum.com/](http://www.ruby-forum.com/).

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.

---

<div class="post-metadata">

**Author:** ![khelll](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/dec6dc/32.png) [@khelll](https://www.ruby-forum.com/u/khelll)\
**Post date:** [September 21, 2007, 3:31pm UTC](https://www.ruby-forum.com/t/is-there-any-way-to-update-ruby-from-console-on-windows/115192/3 "2007-09-21T15:31:00Z")

</div>

Jano S. wrote:

> On 9/21/07, Khelll O. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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-forum.com/](http://www.ruby-forum.com/).
> 
> 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
