[Rubygems-developers] gemspec extensions attribute

Trans transfire at gmail.com
Fri Nov 9 19:09:25 EST 2007


On Nov 9, 2007 4:57 PM, Eric Hodel <drbrain at segment7.net> wrote:
> 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.

Ok. That's what I thought originally.

Thanks,
T.


More information about the Rubygems-developers mailing list