PDA

View Full Version : How to update Ruby without losing gems


DesertFox
July 30th, 2007, 05:40 PM
Hello,

I've never had to update ruby before, but now is probably the time (im running version 1.8.4). What is the safest way to update without losing gems? Do I have to compile again?

Thanks in advance.

rob
July 31st, 2007, 05:31 PM
On a UNIX based system, you don't typically loose the gems you've installed. On a Windows system, I believe as long as you install to C:\Ruby (the one-click installer's default), it will keep the same gems as well.

DesertFox
July 31st, 2007, 07:30 PM
Thanks. I installed from source again and everything went well.