[Rubygems-developers] How to rebuild a gem

Ryan Davis ryand-ruby at zenspider.com
Tue Jan 20 20:48:25 EST 2009

On Jan 20, 2009, at 02:26 , Han Holl wrote:

> On Monday 19 January 2009, Ryan Davis wrote:
>> generally a blown build just sits there with a build log file so you
>> can diagnose the problem. Do a regular install, let it blow up, cd
>> into the gem dir, add your files/patches needed, and finish the build
>> (make/rake as appropriate, depending on how the gem extension is
>> packaged up). It builds in the same location it is going to run from,
>> so you should be good.
> Yes, I can continue with make (in the ext directory), but after that  
> I won't
> have an installed gem. That's what I need for dependencies, maybe for
> installed binaries etc.

no, you'll have an installed gem at that point. It is building IN the  
install location, so once it is built, it's good to go.

> I need to patch/rebuild/repackage the original gem somehow.

More information about the Rubygems-developers mailing list