Rebuilding Ruby, keeping the libs?

(Julian 'Julik' Tarkhanov) #1

Maybe that has been asked already, but is it possible to rebuild Ruby without sweeping all of the installed gems?
I have mine in /usr/local so it's isolated from the old one.

Is that even feasible to try? Or the gems/libs will only link to the interperter they have been built against?

···

--
Julian 'Julik' Tarkhanov
please send all personal mail to
me at julik.nl

(David Vallner) #2

Julian 'Julik' Tarkhanov wrote:

Maybe that has been asked already, but is it possible to rebuild Ruby without sweeping all of the installed gems?
I have mine in /usr/local so it's isolated from the old one.

Is that even feasible to try? Or the gems/libs will only link to the interperter they have been built against?
--Julian 'Julik' Tarkhanov
please send all personal mail to
me at julik.nl

Gems should be very much exempt from any other package management. Gems without native libraries shouldn't need reinstallation, and probably neither the ones with native libraries - I don't think you're rebuilding the interpreter with severe API changes.

David Vallner