[Rubygems-developers] Gem build process for C extension

Jeff Davis ruby at j-davis.com
Mon Jan 7 13:59:17 EST 2008


On Sat, 2008-01-05 at 01:57 -0200, Luis Lavena wrote:
> > > > (b) How do I tell rubygems that my gem now has a dependency on the
> > > > "mkrf" gem?
> > >
> > > Just add mkrf as a dependency like you would with other gems.
> >
> > Is there some documentation about the .gemspec? This is new territory
> > for me.
> >
> 
> http://docs.rubygems.org/read/chapter/20#page85

Thanks. For some reason I was unable to find this before.

> 
> On what platform are you? since is not impossible but uncommon find
> paths with spaces under *nix.
> 

My gem has users on many platforms, including windows. Regardless,
quoting paths appropriately should be _encouraged_ by the tools (by
making it easy) rather than discouraged.

Regards,
	Jeff Davis



More information about the Rubygems-developers mailing list