From: Tim Pease Date: 2008-08-27T13:33:39+09:00 Subject: Re: Rebuild all gems? (Or all which have native extensions?) On Aug 26, 2008, at 10:14 PM, David Masover wrote: > Ruby 1.9.0-4 instantly broke Hpricot. Reinstalling from the gem > fixed it. > > Now, this shouldn't happen, but I'm compiling the development > version of Ruby > from source, so I should be expecting issues like this. > > But for that particular problem, is there a way to automagically > rebuild all > gems? Or at least those with native extensions -- I'd guess those > would be > the first to break. > You would need to write a script that dumps a list of your gems with native extensions (look for .so or .bundle files), upgrade ruby, then run the script again to reinstall the native gems. Hey, new ruby quiz! Blessings, TwP