Reinstalling Gems after updating Ruby

If I update to a newer version of Ruby using the 1-click installer, do I
have to reinstall all of the gems I currently have installed (such as
RMagick)? Or is there a way of updating Ruby without having to update
every thing else that’s Ruby related?

On Dec 13, 7:12 pm, Alex DeCaria [email protected]
wrote:

If I update to a newer version of Ruby using the 1-click installer, do I
have to reinstall all of the gems I currently have installed (such as
RMagick)? Or is there a way of updating Ruby without having to update
every thing else that’s Ruby related?

I’ll recomend first you “backup” your current ruby directory prior
attempt to install the updated installer :slight_smile:

The problem is that some version of files that are no longer part of
1.8.6 will remain there, and maybe that can conflict on how your ruby
environment work.

Future releases of One-Click installer are planned to handle this more
properly.

On Dec 14, 12:11 am, Luis L. [email protected] wrote:

The problem is that some version of files that are no longer part of
1.8.6 will remain there, and maybe that can conflict on how your ruby
environment work.

Future releases of One-Click installer are planned to handle this more
properly.

The way I handle this problem:

I make a make a copy of folder ruby\lib\ruby\gems\1.8

Uninstall Ruby

Install new version of Ruby

Recopy the folder 1.8 into ruby\lib\ruby\gems

Note this is not a complete solution, you still have to reload gems
that places files outside of the 1.8 folder structure … for
example in ruby\bin.

Hopes this helps