[Rubygems-developers] gemspec extensions attribute
drbrain at segment7.net
Fri Nov 9 16:55:47 EST 2007
On Nov 5, 2007, at 19:55 , Trans wrote:
> One last question (hopefully). In the gemspec it says:
> Type: Array; Optional
> The paths to extconf.rb-style files used to compile extensions.
> spec.extensions << 'ext/rmagic/extconf.rb'
> These files will be run when the gem is installed, causing the C (or
> whatever) code to be compiled on the user's machine.
> But does this have to be extconf.rb scripts? Or can it be any script
> in the package? And does gems run 'make' on its own, or does the
> extconf.rb (or other) scripts need to do that?
extconf.rb, configure, or rakefile or mkrf_conf are supported.
Poor workers blame their tools. Good workers build better tools. The
best workers get their tools to do the work for them. -- Syndicate Wars
More information about the Rubygems-developers