[Rubygems-developers] gemspec extensions attribute
transfire at gmail.com
Mon Nov 5 22:55:15 EST 2007
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?
More information about the Rubygems-developers