[Rubygems-developers] gemspec extensions attribute

Berger, Daniel Daniel.Berger at qwest.com
Tue Nov 6 13:36:52 EST 2007


 

> -----Original Message-----
> From: rubygems-developers-bounces at rubyforge.org 
> [mailto:rubygems-developers-bounces at rubyforge.org] On Behalf Of Trans
> Sent: Tuesday, November 06, 2007 11:31 AM
> To: rubygems-developers at rubyforge.org
> Subject: Re: [Rubygems-developers] gemspec extensions attribute
> 
> On Nov 6, 2007 12:42 PM, Luis Lavena <luislavena at gmail.com> wrote:
> > On 11/6/07, Trans <transfire at gmail.com> wrote:
> > >
> > > No one can tell me, if there's a way to get the comoiled 
> libs copied 
> > > to the right place? I ran setup.rb and it puts them in the right 
> > > place, so I'm surprised gems does not.
> > >
> > > Should I submit a bug report?
> > >
> >
> > I don't quite understand your question: you're expecting 
> that rubygems 
> > (gem install) copy your lib/folder to some place?
> 
> No. I'm still talking about compiling extensions.
> 
> When
> 
>   gem install foo
> 
> and foo's gemspec has extensions defined, it does the 
> compilation, right? The resulting .so files get copied to 
> lib/, but that's the wrong place. If you use setup.rb instead 
> they get copied to right place in 'lib/foo/'. How do I tell 
> gems to copy them to lib/foo/ and not lib/?

I think you have to do create_makefile('your_lib', 'foo') in the
extconf.rb file.

Regards,

Dan


This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly 
prohibited and may be unlawful.  If you have received this communication 
in error, please immediately notify the sender by reply e-mail and destroy 
all copies of the communication and any attachments.


More information about the Rubygems-developers mailing list