[Rubygems-developers] gem building native extensions

Jim Weirich jim at weirichhouse.org
Wed Apr 5 14:04:06 EDT 2006

Aaron Patterson wrote:
> Hi, I'm building a native extention in a gem, and gem seems to be
> removing $(target_prefix) from the end of RUBYARCHDIR, and RUBYLIBDIR in
> the Makefile.  Because of that, my library doesn't get installed in to
> the correct directory.  Is this expected functionality?
> I modified gem, to not remove that variable, and my gem installed
> properly.  I've included the patch below.

Patch applied.  New beta now available as  Get it from the 
usual place.

   gem update --system --source http://onestepback.org/betagems

-- Jim Weirich       jweirich at one.net      http://onestepback.org
"Beware of bugs in the above code; I have only proved it correct,
not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)

More information about the Rubygems-developers mailing list