[Rake-devel] Building native extensions with Rake

Charlie Savage cfis at savagexi.com
Tue Nov 18 15:56:14 EST 2008


> GemPackageTask packages your pure ruby (Gem::Platform::RUBY) gem, but
> not binaries.
> 
>> Or are you just focused on putting together binary gems - in which case Ruby
>> gems offers no help at all?  In that case, then I agree with you.
>>
> 
> Yep, binary gems, not only for Windows but also some users with locked
> down environments that has no compiler in their servers.
> 
> ExtensionTask put together the tasks for you to compile the extension
> in a standard way. The idea is you supply your pure-ruby gemspec to it
> and inject into all the binaries and adjust the proper platform for
> you.
> 
> So when "rake native gem" is executed, both pure-ruby and native of
> your platform gems get generated.
> 
> Sorry I didn't express clearly my goal in the first email.

Nah, probably me just being dense.

Charlie

-- 
Charlie Savage
http://cfis.savagexi.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://rubyforge.org/pipermail/rake-devel/attachments/20081118/88b17f9f/attachment.bin>


More information about the Rake-devel mailing list