[Rubygems-developers] gemspec extensions attribute

Eric Hodel drbrain at segment7.net
Fri Nov 9 16:57:45 EST 2007

On Nov 5, 2007, at 22:19 , Trans wrote:
> On Nov 6, 2007 12:36 AM, Luis Lavena <luislavena at gmail.com> wrote:
>> You should create a test gem and check the whole scenario for your  
>> own
>> understanding of the workflow.
>> I did and make my life more easy :-)
> Ok. I did it. And it did exactly what you said it would. I can live
> with the running of make, but the files do not belong in lib/. They at
> least belong in the project subdir, (eg. lib/foo/), but I would expect
> there would be some way to specify where to put them. Is there?

Typically you want ext/foo/foo.c => ext/foo/foo.so, and require 'foo/ 
foo' to work

so your build process shouldn't install anything, instead you should  
add ext/ to your require_path.

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 mailing list