[Rubygems-developers] How to rebuild a gem

Han Holl han.holl at tietoenator.com
Tue Jan 20 05:26:45 EST 2009

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.
I need to patch/rebuild/repackage the original gem somehow.


Han Holl

More information about the Rubygems-developers mailing list